more then one external link with pf

S t i n g r a y fasi_74 at yahoo.com
Tue Jan 2 06:50:27 PST 2007


Well i have purchased another Internal Connection to provide my client
computer more speed to specific protocols & also its cheaper this
way :)

Now i want to use my previous internet link "DSL" to provide only
access to specific protocols like Http, Https  Dns etc etc. and use
this one for all protocols

but my current pf.conf doesn't provide this i try searching the web & could only figure out this ...



intif="epic0"

extif="pcn0"

extif2="fxp0"

extad="192.168.0.2"

chadd="10.0.0.1"

ports = "22 53 80 443 "

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



nat on $extif inet proto {icmp, tcp, udp } from <servers> to any  -> $extad

nat on $extif inet proto {tcp, udp } from <allowedclients> to 192.168.0.1 port { $ports } -> (pcn0)

nat on $extif2 inet proto {tcp, udp } from <allowedclients> to any -> (fxp0)



rdr on $intif proto tcp from <allowedclients> to any port 80 -> $chadd port 8080



pass out on $extif inet proto { tcp, udp } from <allowedclients> to any port { $ports }





now the problem is that traffic is only directed to one link either cable or dsl both links arent being used at a time.
 
Thank you 

Happy New Year 

*º¤., ¸¸,.¤º*¨¨¨*¤ Stingray *º¤., ¸¸,.¤º*¨¨*¤
              





__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the freebsd-questions mailing list