OpenVPN Client not using defined interfaces
l4k3k3m4n last edited by
I have problems with pfsense as VPN client. (this is for site-to-site VPN)
I have multiple WAN connections. I define which WAN to use in the configuration of the VPN client page.
The connection is always going through the default gateway. Never the one I configured.
When I switch default gateway, the outgoing connection switches as well.
When I have a static route to the OpenVPN target server through a LAN interface, the client will use this route instead of the configured WAN interface.
So somehow the OpenVPN client always uses kernel routing table, never the interface it is bound to.
Am I doing something wrong? I guess this is not the expected behaviour.