Honestly, I have no clue if its PPTP, L2TP, IPsec or SSL. The VPN provider that i use is VPN Unlimited. (please delete if link is not allowed). Is there a way to change the value of the keepalive period? I'm trying to find logfiles for the VPN client but I cant seem to find it.
As can be seen from VPN Unlimited's "Technical questions" section
FAQ (e.g.
this one or
that one) they use SSL-VPN based on
OpenVPN.
According to the
description of the openvpn tunnel daemon that you have installed and use as part of the VPN client software, it should do logging to some logfile. Maybe VPN Unlimited's version also logs errors to the Windows event log, hence you should also look there if VPN termination error messages can be found, that give us the reason why. The openvpn daemon description also encompasses parameters for keepalives, see the descriptions for '--ping n', '--ping-exit n', '--ping-restart n' and '--keepalive n m'. If you can identify a configuration file used by your VPN client (something with a contents like
this), you could add a line like 'ping 10' to cause your VPN client to send a keepalive every 10 seconds after no other data was transferred, in order to keep the SSL/UDP/IP-NAT session open inside DIR-868L's UDP NAT session table.
Best choice probably is to ask VPN Unlimited's help desk for advanced support for your problem.
By the way: Maybe this
hint from VPN Unlimited's FAQ is helpful either: Test if the situation improves after switching off SPI inside DIR-868L (ADVANCED | FIREWALL SETTINGS: Uncheck "Enable SPI"). Of course disabling SPI reduces the degree of firewall protection ...
PT