Skip to contentSkip to conversation

Multi-user openvpn

Openvpn-devel Jean-Eric Cuendet 1 participant 1 message Apr 18, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 1 line

One other thing that would be cool, would be a flag to let openvpn

accept a connection within a certain amount of time and shutdown after that.

The inactivity disconnect should handle that case.

If you start an openvpn session with --inactive 300, and the peer never connects, the session will exit in 5 minutes.

Yes, that would work.
But the typical usage would be:
- Shutdown after 30 seconds if no connection
- Shutdown after 60-120 minutes if no network activity (after connection was successful)

But inact timeout would be sufficient for our basic needs. -jec