Redirect Traffic for a Website Out VPN?
-
I have a single WAN 2.1.5 box running here at home with an OpenVPN client connection to Torguard. I can send traffic out the Torguard connection if I create a LAN firewall rule and change the gateway, but I'm wondering if it would be possible to configure it so any traffic for a CDN (like facebook.com) could be sent out Torguard? Even if I had to install a 3rd party package like Squid that would be okay.
Any ideas?
-
use Port Forward
go to Firewall – NAT -- Port Forward -
use Port Forward
go to Firewall – NAT -- Port ForwardThat's not what I'm looking for, but thanks.
-
Try this to generate the list of FaceBook IPs:
https://forum.pfsense.org/index.php/topic,69860.msg383922.html#msg383922Then use the Alias as destination in a pass rule on LAN and direct that traffic to the VPN gateway.
-
Try this to generate the list of FaceBook IPs:
https://forum.pfsense.org/index.php/topic,69860.msg383922.html#msg383922Then use the Alias as destination in a pass rule on LAN and direct that traffic to the VPN gateway.
That's … brilliant. I can use this for so many other sites it would be nice to anonymize too. Thanks!