mirror of https://github.com/OpenVPN/openvpn-gui
Browse Source
Bind a socket and then close to identify a free port and use it when starting openvpn.exe. Try port = offset + config-index is first, matching the current usage, and fallback to a dynamic port if the former fails. Trac: #1051 Signed-off-by: Selva Nair <selva.nair@gmail.com>pull/510/head
Selva Nair
2 years ago
3 changed files with 62 additions and 0 deletions
Loading…
Reference in new issue