English Forums > General Discussion

Second Gateway Address on LAN Interface

<< < (2/2)

wisesongs:
Here is a post that describes using subnetting rather than gateway address to decide what traffic goes through the VPN:
https://forum.opnsense.org/index.php?topic=1951.0

It still requires manually setting the client IP address to make the switch.

wisesongs:
Here is another post with exactly the problem I would like to solve, adding a second gateway to the LAN interface:
https://forum.opnsense.org/index.php?topic=12294.msg56833#msg56833

The suggested solution was to add a virtual IP address, then add firewall rules to "create policy based routing." I tried to do that but it did not work for me. Could someone please post the rules that would be required? I have a working VPN tunnel to Private Internet Access called PIAVPN.

Navigation

[0] Message Index

[*] Previous page

Go to full version