Hello,
is it possible to route the traffic from a single ip address through expressvpn or nordvpn with OPNsense?
At the moment I'm using a Sonicwall TZ210 and it seems there is no possibilty
best regards,
Sarge
checkout https://forum.opnsense.org/index.php?topic=4979.msg25066#msg25066
the main problem is that the VPN providers push a default route.
You need to remove it to not route your OPNsense traffic over it.
route 0.0.0.0 192.0.0.0 net_gateway
route 64.0.0.0 192.0.0.0 net_gateway
route 128.0.0.0 192.0.0.0 net_gateway
route 192.0.0.0 192.0.0.0 net_gateway
to Advanced Section of your VPN Config.
use policy routing for the single IP you need over VPN
Assign an Interface for your VPN Client OVPNCx
Enable Interface
Description YOURVPN
IPV4/IPv6 None/None
Firewall -> Rules -> LAN:
Action Pass
Interface LAN
Source YOURIPTHATNEEDSVPN
Gateway YOURVPN
https://community.openvpn.net/openvpn/wiki/IgnoreRedirectGateway
Hello NilsS,
thanks for the information!
best regards,
Sarge