AWS VPN Tunnel going down without traffic

Posted by Asfura on Server Fault See other posts from Server Fault or by Asfura
Published on 2013-11-13T23:40:03Z Indexed on 2014/06/12 3:27 UTC
Read the original article Hit count: 525

I managed to setup a site-to-site VPN connection from Amazon VPC to a company's network, and after a lot of configuration it was working fine, but now i realized that the VPN tunnel is DOWN every time there's no traffic going trough for a couple minutes.

The only way that i have found to generate traffic is to reach the amazon instance from the company's network and then the tunnel goes up again.

I had a cronjob doing ping every minute, but i think it should have a keepalive option somewhere, or at least a log file of the tunnels to find out what's going on.

Any ideas to keep the tunnel up and/or bring it up from amazon?

The firewall is a Checkpoint R75.20, it only allows one tunnel at a time for the same subnet, so i cant have both tunnels active.

Thank you, any questions just ask.

EDIT I forgot to add, the ping keepalive was working great (maybe generating a bit of traffic, but nothing to worry about), the connection dropped because i had to restart the instance, and it that little time it dropped me.

© Server Fault or respective owner

Related posts about vpn

Related posts about amazon-web-services