On Tue, Jun 10, 2008 at 05:46:11PM +0800, Rosli Sukri wrote: > hi > > scenario: > users---->[lan]freebsdpf[wan]----->{gw1,gw2} > where gw1 goes to isp1, and gw2 goes to isp2. > > > requirements: > ftp, http, https traffic goes to gw1 > telnet, ssh, mail and pop goes to gw2 > > can freebsdpf do this? >
nat from any to any port = { ftp http https } tag W1 -> (wan1) nat from any to any port = { telnet ssh mail pop } tag W2 -> (wan2) set skip on lan0 pass quick on wan1 tagged W1 keep state pass quick route-to (wan1 gw1) tagged W1 keep state pass quick on wan2 tagged W2 keep state pass quick route-to (wan2 gw2) tagged W2 keep state /swp _______________________________________________ freebsd-pf@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-pf To unsubscribe, send any mail to "[EMAIL PROTECTED]"