Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Mar 2011 11:39:05 -0400
From:      Michel Blais <michel.targo@gmail.com>
To:        freebsd-doc@FreeBSD.org
Subject:   pf.conf(5) man page
Message-ID:  <4D877119.1050301@targo.ca>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D877119.1050301>