Changes to cyberghost openvpn configuration

- Comment out redirect-gateway def1
- Add explicit-exit-notify 2 to ensure disconnection server side
- Remove ping-exit instructions
- Remove resolv-retry infinite (unneeded)
This commit is contained in:
Quentin McGaw
2020-07-12 14:47:37 +00:00
parent 8b096af04e
commit b4c838e6ab

View File

@@ -63,12 +63,10 @@ func (c *cyberghost) BuildConf(connections []models.OpenVPNConnection, verbosity
"remote-cert-tls server",
// Cyberghost specific
"resolv-retry infinite",
"redirect-gateway def1",
// "redirect-gateway def1",
"ncp-disable",
"ping 5",
"ping-exit 60",
"ping-timer-rem",
"explicit-exit-notify 2",
"script-security 2",
"route-delay 5",