Author Topic: VPN on WAN Failover  (Read 1838 times)

dangerbock

  • Zen Apprentice
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
VPN on WAN Failover
« on: March 23, 2010, 07:18:21 pm »
Hi,

When i lose connection on my main WAN the VPN connection change to the second backup WAN but when primary WAN get up again the VPN connection don't change to the primary WAN.

LOGS:

2010/03/23 18:08:47 INFO> Log.pm:119 EBox::Event::Dispatcher::Log::send - $VAR1 = bless( {
                 'source' => 'WAN Failover',
                 'level' => 'error',
                 'dispatchers' => [
                                    'any'
                                  ],
                 'timestamp' => 1269367723,
                 'message' => 'Gateway WAN1 disconnected (40% of \'DNS resolve\' tests to host \'google.com\' failed, max=25%)'
               }, 'EBox::Event' );
2010/03/23 18:12:12 INFO> Base.pm:174 EBox::Module::Base::__ANON__ - Restarting service for module: network
2010/03/23 18:12:13 INFO> Service.pm:621 EBox::Module::Service::restartService - Skipping restart for squid as it's disabled
2010/03/23 18:12:13 INFO> Log.pm:119 EBox::Event::Dispatcher::Log::send - $VAR1 = bless( {
                 'source' => 'WAN Failover',
                 'level' => 'info',
                 'dispatchers' => [
                                    'any'
                                  ],
                 'timestamp' => 1269367932,
                 'message' => 'Gateway WAN1 connected'
               }, 'EBox::Event' );


best regards,
Pedro Marques

J. A. Calvo

  • Zentyal Staff
  • Zen Hero
  • *****
  • Posts: 1986
  • Karma: +67/-3
    • View Profile
    • http://blogs.zentyal.org/jacalvo
Re: VPN on WAN Failover
« Reply #1 on: March 23, 2010, 08:07:27 pm »
Are you using DynDNS?
Zentyal Server Lead Developer

dangerbock

  • Zen Apprentice
  • *
  • Posts: 30
  • Karma: +0/-0
    • View Profile
Re: VPN on WAN Failover
« Reply #2 on: March 24, 2010, 10:38:05 am »
No, i'm not using DynDNS.

WAN 1 have several static IP's and WAN 2 is one "mobile 3G" Router