Is there any way to specify wich hosts I want to route traffic throught a vpn?

  • I'm using PfSense 2.4.4 and I had setup PIA VPN on it, I did not added the rules on firewall->NAT->Outbound yet because I want only specific hosts to use PIA.

    E.G.: - -> Route Directly to WAN, no VPN - -> Route all traffic throught PIA VPN

    Is there any tutorial about this? Thanks in advice.

  • LAYER 8 Moderator

    NAT->Outbound Rules have no impact which clients will be routed over VPN or which will not.

    If you have set up the VPN correctly and have added the VPN Interface so you have a gateway, you can create rules on the LAN interface to route traffic over the VPN. So you just have to setup the rules according to your liking :)

  • @jegr Thanks, I will try this as soon as possible!

Log in to reply