Hello.
I'm trying to set up policy based routing with pf.
Here is my routing rule:
pass in log (all) quick on { $lan_if $guest_if } route-to {$vps_tun $vps_gw} from any to 104.21.67.120
here is my nat rule:
nat log (all) on $vps_tun from any to 104.21.67.120 -> ($vps_tun)
it turns into...
Hello, thanks to the posts that I found on this forum, I could implement a gateway in FreeBSD that allows me to do flexible policy routing through different interfaces.
I'm going to share.
System: FreeBSD freebsd 12.0-STABLE FreeBSD 12.0-STABLE r346132 NEWKERNEL amd64
NEWKERNEL compiled...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.