Re: [Shorewall-users] Q: Shorewall failover auto-switch script

2017-07-21 Thread andreil1
> On 20 Jul 2017, at 18:15, Tom Eastep wrote: > > On 07/20/2017 03:59 AM, andreil1 wrote: >> >> >>> On 20 Jul 2017, at 13:33, Simon Hobson wrote: >>> >>> andreil1 wrote: >>> shorewall disable LTC1 <— Doesn’t work

Re: [Shorewall-users] Q: Shorewall failover auto-switch script

2017-07-20 Thread Tom Eastep
On 07/20/2017 03:59 AM, andreil1 wrote: > > >> On 20 Jul 2017, at 13:33, Simon Hobson wrote: >> >> andreil1 wrote: >> >>> shorewall disable LTC1 <— Doesn’t work >>> >>> ERROR: LTC1 is not an optional provider interface: Firewall state not >>>

Re: [Shorewall-users] Q: Shorewall failover auto-switch script

2017-07-20 Thread andreil1
> On 20 Jul 2017, at 13:33, Simon Hobson wrote: > > andreil1 wrote: > >> shorewall disable LTC1 <— Doesn’t work >> >> ERROR: LTC1 is not an optional provider interface: Firewall state not changed >> /usr/share/shorewall/lib.common: line 93:

Re: [Shorewall-users] Q: Shorewall failover auto-switch script

2017-07-20 Thread Simon Hobson
andreil1 wrote: > shorewall disable LTC1 <— Doesn’t work > > ERROR: LTC1 is not an optional provider interface: Firewall state not changed > /usr/share/shorewall/lib.common: line 93: 28414 Terminated > $SHOREWALL_SHELL $script $options $@ > > Should I mark

Re: [Shorewall-users] Q: Shorewall failover auto-switch script

2017-07-20 Thread andreil1
> On 20 Jul 2017, at 12:04, Simon Hobson wrote: > > andreil1 wrote: > >> I have this setup of shorewall with 2 ISPs, and need to auto-switch >> connection if main (LTC1) provider fails, and the revert back if it becomes >> alive. >> >> ***

Re: [Shorewall-users] Q: Shorewall failover auto-switch script

2017-07-20 Thread Simon Hobson
andreil1 wrote: > I have this setup of shorewall with 2 ISPs, and need to auto-switch > connection if main (LTC1) provider fails, and the revert back if it becomes > alive. > > *** shorewall.conf *** > USE_DEFAULT_RT=Yes > > *** providers *** > LTC1 1 0x1

[Shorewall-users] Q: Shorewall failover auto-switch script

2017-07-20 Thread andreil1
Hi, I have this setup of shorewall with 2 ISPs, and need to auto-switch connection if main (LTC1) provider fails, and the revert back if it becomes alive. *** shorewall.conf *** USE_DEFAULT_RT=Yes *** providers *** LTC1 1 0x1 - eth0 gw1.xx.xx.xx track,balance=1 - BTC2 2 0x2