pf.conf(5) man page

Michel Blais michel.targo at gmail.com
Mon Mar 21 16:05:19 UTC 2011


You should add the sytaxe and exemple for policy routing under routing , 
the're lot of questions about it without answer on the forum.

pass in on $int_if route-to ($ext_if1 $ext_gw1) from $subnet1
pass in on $int_if route-to ($ext_if2 $ext_gw2) from $subnet2

exemple : I have two ISP, I want the traffic from 192.168.0.0/24 to go 
too isp1 and 172.16.0.0/24 to go too isp2

pass in on $int_if route-to ($isp1_if $isp1_gw) from 192.168.0.0/24
pass in on $int_if route-to ($isp2_if $isp2_gw) from 172.16.0.0/24

the mistake come from OpenBSD doc for loadbalacing that don't seem to 
work in the case of policy routing.

Should be added to pf.conf(5) 
http://www.freebsd.org/cgi/man.cgi?query=pf.conf&sektion=5&manpath=FreeBSD+8.2-RELEASE

-- 
Michel Blais
Administrateur réseau / Network administrator
Targo communications
Montréal : (514) 448-0773
Valleyfield : (450) 322-6142




More information about the freebsd-doc mailing list