AWS VPN Tunnel going down without traffic
- by Asfura
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.