Skip to main content

PersistentKeepalive

PersistentKeepalive is used for devices that are behind nats or other restrictive firewalls to prevent an idle connection from being terminated by the firewall, it works by periodically sending traffic over the tunnel to tell firewalls and NAT devices in the way to keep the session alive. Avoid using this unless you need it as it uses un-needed traffic otherwise.

Example below ^^

PersistentKeepalive = 25
(this is a sane value for most NATs, if it's particularly restrictive or quick to close, try lowering the value.)