You would need a way to detect link status and enable/disable the link in
shorewall accordingly.
Manually you can just run:
shorewall disable eth1
and when the connection returns
shorewall enable eth1
A better solution would be use something like lsm (read here
http://shorewall.net/MultiISP.html#lsm <http://shorewall.net/MultiISP.html#lsm>
and then download http://lsm.foobar.fi/)
Regards,
Hesham Ahmed
> On Mar 25, 2015, at 9:27 PM, Nico Pagliaro <[email protected]> wrote:
>
> Hi everybody, I am installing a new shorewall firewall from version 4.5.0.2
> to 4.6.7 in a Centos 6
> I need to have a multiple ISP configuration, QoS and fallback or balance
> option.
> Well, there is something that obviously I am doing wrong, because it is not
> working.
> This is my config:
>
> eth0 = 192.168.0.7 (LAN)
> eth1 = external IP 1 (NET)
> eth2 = ADSL connection, ppp0
>
> I am using USE_DEFAULT_RT=Yes
>
> FILES:
> ----------
>
> zones
> fw firewall
> net ipv4
> loc ipv4
>
>
> interfaces
> loc eth0
> net eth1 optional
> net ppp+ optional
>
>
> masq
> eth1 192.168.0.0/24 <http://192.168.0.0/24> 201.217.10.1
> (MY GW)
>
> ppp+ 192.168.0.0/24 <http://192.168.0.0/24>
>
> providers
> ANTEL 1 1 - eth1 201.217.10.1
> track,loose,balance=10
> ADSL 2 2 - ppp0 -
> track,loose,balance=1
>
>
> ANTEL is a 120/20 connection and ADSL is a 20/2
>
>
> What I want in this step is, if ANTEL is down, users goes out to Internet
> with ADSL, so I disconnect from my ANTEL router the UTP cable.
> The result is that the client navigate throught ADSL but when I reconnect the
> ANTEL link the client still navigate using ADSL.
>
>
> Is this correct? How can I make that the primary connection is ANTEL
>
> Thanks
>
>
>
> I try in ANTEL provider options primary and fallback en ADSL and doesnt work,.
>
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website, sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for all
> things parallel software development, from weekly thought leadership blogs to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now.
> http://goparallel.sourceforge.net/_______________________________________________
> Shorewall-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/shorewall-users
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users