OPNsense
  • Home
  • Help
  • Search
  • Login
  • Register

  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Multiwan Squid on OPNsense 15.7
« previous next »
  • Print
Pages: [1]

Author Topic: Multiwan Squid on OPNsense 15.7  (Read 8254 times)

trongkha

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Multiwan Squid on OPNsense 15.7
« on: July 23, 2015, 09:51:23 am »
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.
« Last Edit: July 24, 2015, 01:34:33 am by trongkha »
Logged

jimmy shao

  • Newbie
  • *
  • Posts: 33
  • Karma: 3
    • View Profile
Re: Multiwan Squid on OPNsense 15.7
« Reply #1 on: July 23, 2015, 12:03:08 pm »
Same thing happens here.
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: Multiwan Squid on OPNsense 15.7
« Reply #2 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. :)
Logged

trongkha

  • Newbie
  • *
  • Posts: 5
  • Karma: 0
    • View Profile
Re: Multiwan Squid on OPNsense 15.7
« Reply #3 on: July 23, 2015, 01:46:55 pm »
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
« Last Edit: July 23, 2015, 01:53:07 pm by trongkha »
Logged

franco

  • Administrator
  • Hero Member
  • *****
  • Posts: 17707
  • Karma: 1618
    • View Profile
Re: Multiwan Squid on OPNsense 15.7
« Reply #4 on: July 23, 2015, 02:09:20 pm »
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.
Logged

jimmy shao

  • Newbie
  • *
  • Posts: 33
  • Karma: 3
    • View Profile
Re: Multiwan Squid on OPNsense 15.7
« Reply #5 on: July 23, 2015, 03:00:42 pm »
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.
Logged

  • Print
Pages: [1]
« previous next »
  • OPNsense Forum »
  • English Forums »
  • General Discussion »
  • Multiwan Squid on OPNsense 15.7
 

OPNsense is an OSS project © Deciso B.V. 2015 - 2024 All rights reserved
  • SMF 2.0.19 | SMF © 2021, Simple Machines
    Privacy Policy
    | XHTML | RSS | WAP2