Author Topic: VPN problem - every night, the VPN disconnect  (Read 1688 times)

vampywiz17

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
VPN problem - every night, the VPN disconnect
« on: October 30, 2013, 07:23:14 am »
Hello!

I use two Zentyal server two different place. I connect them a VPN. (Zentyal to Zentyal) both of them use ADSL connection (PPPoE) and every night, the VPN is disconnect...

which is sure, the problem is the client side. Because if i restart the Client side Zentyal machine (or resave the network settings) it's working again... (if only restart the VPN daemon both side, it's wont work)

The interesting thing that the Client Zentyal it seems connect to VPN (it is display the server domain name and the VPN client IP) but the server side i can't see any connected partner.

Now, i need to restart the network settings every morning and its not so good.

vampywiz17

  • Zen Apprentice
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: VPN problem - every night, the VPN disconnect
« Reply #1 on: October 31, 2013, 07:09:29 am »
Any idea?

Lonniebiz

  • Zen Samurai
  • ****
  • Posts: 320
  • Karma: +24/-2
    • View Profile
Re: VPN problem - every night, the VPN disconnect
« Reply #2 on: October 31, 2013, 06:04:29 pm »
Perhaps you could write a script that:

1) Checks to see if VPN is connected
2) Reconnects if not connected

Then you can run this script periodically using a cron job.

Maybe someone else knows a better way. Maybe there is some option in the web interface that ensures persistent connection (not sure).
« Last Edit: October 31, 2013, 06:06:50 pm by Lonniebiz »