On Thu, 08 Jun 2017 16:43:32 +0200 Jan Just Keijser <janj...@nikhef.nl> wrote:
> keep-alive 0 0 > which is the same as > ping 0 > ping-restart 0 I tried that, but setting "ping 0" results in the default of 10 secs, not disabling. The option "ping 0" is not mentioned in the manpage BTW. setting ping-restart to 0 disables the option. Removing the options disables the ping. > If you want *no traffic at all* until data is received on the tunnel > interface then you'll have to resort to ugly systemd-like tricks: > - use 'openvpn --mktun tun0' to create the tun device > - do something magic to launch openvpn when packets enteer tun0 I have no systemd here... > but your initial packets will almost always time out - the initial > handshake in PtP mode is *at least* 10 seconds. -- richard lucassen http://contact.xaq.nl/ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Openvpn-users mailing list Openvpn-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-users