On 2015-06-05, Brad DeMorrow <[email protected]> wrote:
> I'm currently running squid on my gateway - working well.
> I've got the standard couple of lines that they recommend putting into
> pf.conf
>
> pass in quick on inet proto tcp from 192.0.2.0/24 to port www divert-to
> 127.0.0.1 port 3129
> pass out quick inet from 192.0.2.0/24 divert-reply
>
>
> My situation is that I need to route traffic coming from different sources
> out different WAN ports..
> I'm not sure how to approach this - does anyone have any suggestions?
>
> Any tips appreciated.
>
> Thanks.
>
>

You could use tcp_outgoing_address combined with an acl in squid, and PF
rules (using either route-to or rtable depending on your setup) to direct
traffic appropriately.

Reply via email to