Send Squid request to a designed gateway/nic
HEllo guys, I tried some time ago squid and works great, but in a multiwan scenario where the default gw is not used for browser/ftp/dns request there is no way to tell squid about to send request to a different gateway than the default one.
Any idea on this? Could be added to a wishlist for squid package?
or perhaps if I can know source ports for squid request I can redirect the request from squid to a specific gateway.
Any idea welcome
marcelloc last edited by
Create a rule on floating tab forwarding 127.0.0.1 traffic to gateway x.
on squid.conf add tcp_outgoing_address 127.0.0.1 to squid custom option on gui
If you dont use FailOver or LoadBalance, you can just add tcp_outgoing_address WAN2_IP on squid custom options.