Hi misc,

My PF box hae 3 network cards. (Squid is also ruuning on this PF box)

Wan1 , Wan2 and LAN

I want LAN users to reach Specific Destination IPs via Wan1, when they
browse squid proxy.  Everything else via Wan2. ( /etc/mygate has been set
to Wan2 router ip )

Lan users' Internet browsers have been configured to proxy ip address  and
port )

let's assume /etc/ip_list1 contains all the Destination  ip addresses that
should route via Wan1


What about below rules ? any comment?

table <ip_list1> persist file "/etc/ip_list1"

pass out quick log from any to <ip_list1> route-to ($wan1_if $wan1_gw) tag
ip_list1_traffic
pass out quick log on $wan1_if tagged ip_list1_traffic




-- 
cat /etc/motd

Thank you
Indunil Jayasooriya
http://www.theravadanet.net/
http://www.siyabas.lk/sinhala_how_to_install.html   -  Download Sinhala
Fonts

Reply via email to