I am running OPNsense 15.7 on VirtualBox with 3 network interfaces.
em0: WAN
em1: LAN
em2: OPT
I tested MultiWan on this machine and it works well. (without squid)
But Squid only uses default wan (not 2 WAN). Are there any better method to make Squid works with 2 WAN?
Edit 1: I configured floating but it not works.
Thanks for help.
Same thing happens here.
Local services on the firewall default to the default gateway and thus only work in correctly failover mode.
There are a afew tutorials to make this work on pfSense, a good starting point would be:
https://forum.pfsense.org/index.php?topic=37083.0
If you find a solution that works for OPNsense please share it with everyone. Thanks. :)
Quote from: franco on July 23, 2015, 12:27:03 PM
Local services on the firewall default to the default gateway and thus only work in correctly failover mode.
There are a afew tutorials to make this work on pfSense, a good starting point would be:
https://forum.pfsense.org/index.php?topic=37083.0
If you find a solution that works for OPNsense please share it with everyone. Thanks. :)
I had tried solutions in that link before I started a new topic in this forum, but it doesn't work. Anyway, thanks for your help, franco ;D
Did you also see https://dl.dropboxusercontent.com/u/7260185/pfSense_Web_Proxy_with_multi-WAN_links.pdf ?
The "tcp_outgoing_address 127.0.0.1" could also be set in the template at the bottom for testing purposes:
/usr/local/opnsense/service/templates/OPNsense/Proxy/squid.conf
After edit, reapply your changes in the GUI.
Well...
just follow the instruction(Both PDF and Forum) and still not work.
look into the PDF, seems it's a solution for fail over, not for load balance.