Date: Tue, 10 Jun 2008 16:20:49 +0600 From: Rossikhin Aleksey <arossihin@nora.no-ip.org> To: Rosli Sukri <roslisukri@gmail.com> Cc: freebsd-pf@freebsd.org Subject: Re: multi gateways setup Message-ID: <484E5581.5000100@nora.no-ip.org> In-Reply-To: <adc951fe0806100246q6c3b4068rb6743c321c8a7599@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
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?
> _______________________________________________
> freebsd-pf@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org"
>
yes, it can
look for "reply-to" and "route-to" options in pass rules.
for example:
pass out route-to ($wan_if $gw1) from $wan_if to any port http keep state
here all http traffic from freebsd host goes to gw1
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?484E5581.5000100>
