2Wan , OpenVPN - static routes not working
drummer last edited by
i am fighting with openvpn configuration with pfsense. I have 2 WAN and 1 LAN interface configured.
2. WAN2 - will be used just for openvpn
I want to configure openvpn client to connect to a server via WAN2, but when i check packets, it is routed via WAN1 (default gateway).
I have added static route in pfsense:
VPNserverIP/32 gateway: WAN2;
but still wants to connect via WAN1.
Thanks very much
deltalord last edited by
Have you checked under OpenVPN: Client the dropdown menu besides Interface? There you can specify which iface should be used to establish the OpenVPN Connection. From there, it's all a question of NAT and Firewall rules.
cmb last edited by
Don't add static routes, pick the appropriate interface in the OpenVPN config.