Migrating from ipfw to pf
AstraSerg
astraserg at proc.ru
Wed Aug 30 08:19:56 UTC 2006
Good day
How can I configure pf in case with 2 external interfaces?
There is no binding to interface at all in ipfw. I just
divert 42345 ip from 192.168.0.0/16 to any
fwd 194.185.178.126 ip from 194.185.178.125 to any
divert 42345 ip from any to 194.185.178.125
In pf I have to set external interface, like this
nat on sk0 inet from 192.168.0.0/16 to any -> 194.185.178.125
But traffic by default go to another interface - em1
--
Wed Aug 30 11:40:23 MSD 2006
More information about the freebsd-pf
mailing list