Fix: remove pull-filter ignore ping-restart
This commit is contained in:
@@ -76,7 +76,6 @@ func modifyCustomConfig(lines []string, username string,
|
|||||||
modified = append(modified, "mute-replay-warnings")
|
modified = append(modified, "mute-replay-warnings")
|
||||||
modified = append(modified, "auth-nocache")
|
modified = append(modified, "auth-nocache")
|
||||||
modified = append(modified, "pull-filter ignore \"auth-token\"") // prevent auth failed loop
|
modified = append(modified, "pull-filter ignore \"auth-token\"") // prevent auth failed loop
|
||||||
modified = append(modified, `pull-filter ignore "ping-restart"`)
|
|
||||||
modified = append(modified, "auth-retry nointeract")
|
modified = append(modified, "auth-retry nointeract")
|
||||||
modified = append(modified, "suppress-timestamps")
|
modified = append(modified, "suppress-timestamps")
|
||||||
modified = append(modified, "auth-user-pass "+constants.OpenVPNAuthConf)
|
modified = append(modified, "auth-user-pass "+constants.OpenVPNAuthConf)
|
||||||
|
|||||||
@@ -95,7 +95,6 @@ func (c *cyberghost) BuildConf(connection models.OpenVPNConnection,
|
|||||||
"auth-nocache",
|
"auth-nocache",
|
||||||
"mute-replay-warnings",
|
"mute-replay-warnings",
|
||||||
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
||||||
`pull-filter ignore "ping-restart"`,
|
|
||||||
"auth-retry nointeract",
|
"auth-retry nointeract",
|
||||||
"suppress-timestamps",
|
"suppress-timestamps",
|
||||||
|
|
||||||
|
|||||||
@@ -127,7 +127,6 @@ func (f *fastestvpn) BuildConf(connection models.OpenVPNConnection,
|
|||||||
"auth-nocache",
|
"auth-nocache",
|
||||||
"mute-replay-warnings",
|
"mute-replay-warnings",
|
||||||
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
||||||
`pull-filter ignore "ping-restart"`,
|
|
||||||
"auth-retry nointeract",
|
"auth-retry nointeract",
|
||||||
"suppress-timestamps",
|
"suppress-timestamps",
|
||||||
|
|
||||||
|
|||||||
@@ -120,7 +120,6 @@ func (h *hideMyAss) BuildConf(connection models.OpenVPNConnection,
|
|||||||
"mute-replay-warnings",
|
"mute-replay-warnings",
|
||||||
"auth-nocache",
|
"auth-nocache",
|
||||||
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
||||||
`pull-filter ignore "ping-restart"`,
|
|
||||||
"auth-retry nointeract",
|
"auth-retry nointeract",
|
||||||
"suppress-timestamps",
|
"suppress-timestamps",
|
||||||
|
|
||||||
|
|||||||
@@ -101,7 +101,6 @@ func (m *mullvad) BuildConf(connection models.OpenVPNConnection,
|
|||||||
"mute-replay-warnings",
|
"mute-replay-warnings",
|
||||||
"auth-nocache",
|
"auth-nocache",
|
||||||
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
||||||
`pull-filter ignore "ping-restart"`,
|
|
||||||
"auth-retry nointeract",
|
"auth-retry nointeract",
|
||||||
"suppress-timestamps",
|
"suppress-timestamps",
|
||||||
|
|
||||||
|
|||||||
@@ -116,7 +116,6 @@ func (n *nordvpn) BuildConf(connection models.OpenVPNConnection,
|
|||||||
"auth-nocache",
|
"auth-nocache",
|
||||||
"mute-replay-warnings",
|
"mute-replay-warnings",
|
||||||
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
||||||
`pull-filter ignore "ping-restart"`,
|
|
||||||
"auth-retry nointeract",
|
"auth-retry nointeract",
|
||||||
"suppress-timestamps",
|
"suppress-timestamps",
|
||||||
|
|
||||||
|
|||||||
@@ -167,7 +167,6 @@ func (p *pia) BuildConf(connection models.OpenVPNConnection,
|
|||||||
"auth-nocache",
|
"auth-nocache",
|
||||||
"mute-replay-warnings",
|
"mute-replay-warnings",
|
||||||
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
||||||
`pull-filter ignore "ping-restart"`,
|
|
||||||
"auth-retry nointeract",
|
"auth-retry nointeract",
|
||||||
"suppress-timestamps",
|
"suppress-timestamps",
|
||||||
|
|
||||||
|
|||||||
@@ -98,7 +98,6 @@ func (s *privado) BuildConf(connection models.OpenVPNConnection,
|
|||||||
"auth-nocache",
|
"auth-nocache",
|
||||||
"mute-replay-warnings",
|
"mute-replay-warnings",
|
||||||
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
||||||
`pull-filter ignore "ping-restart"`,
|
|
||||||
"auth-retry nointeract",
|
"auth-retry nointeract",
|
||||||
"suppress-timestamps",
|
"suppress-timestamps",
|
||||||
|
|
||||||
|
|||||||
@@ -102,7 +102,6 @@ func (p *purevpn) BuildConf(connection models.OpenVPNConnection,
|
|||||||
"auth-nocache",
|
"auth-nocache",
|
||||||
"mute-replay-warnings",
|
"mute-replay-warnings",
|
||||||
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
||||||
`pull-filter ignore "ping-restart"`,
|
|
||||||
"auth-retry nointeract",
|
"auth-retry nointeract",
|
||||||
"suppress-timestamps",
|
"suppress-timestamps",
|
||||||
|
|
||||||
|
|||||||
@@ -114,7 +114,6 @@ func (s *surfshark) BuildConf(connection models.OpenVPNConnection,
|
|||||||
"mute-replay-warnings",
|
"mute-replay-warnings",
|
||||||
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
||||||
"pull-filter ignore \"block-outside-dns\"",
|
"pull-filter ignore \"block-outside-dns\"",
|
||||||
`pull-filter ignore "ping-restart"`,
|
|
||||||
"auth-retry nointeract",
|
"auth-retry nointeract",
|
||||||
"suppress-timestamps",
|
"suppress-timestamps",
|
||||||
|
|
||||||
|
|||||||
@@ -99,7 +99,6 @@ func (v *vyprvpn) BuildConf(connection models.OpenVPNConnection,
|
|||||||
"auth-nocache",
|
"auth-nocache",
|
||||||
"mute-replay-warnings",
|
"mute-replay-warnings",
|
||||||
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
||||||
`pull-filter ignore "ping-restart"`,
|
|
||||||
"auth-retry nointeract",
|
"auth-retry nointeract",
|
||||||
"suppress-timestamps",
|
"suppress-timestamps",
|
||||||
|
|
||||||
|
|||||||
@@ -104,7 +104,6 @@ func (w *windscribe) BuildConf(connection models.OpenVPNConnection,
|
|||||||
"auth-nocache",
|
"auth-nocache",
|
||||||
"mute-replay-warnings",
|
"mute-replay-warnings",
|
||||||
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
"pull-filter ignore \"auth-token\"", // prevent auth failed loops
|
||||||
`pull-filter ignore "ping-restart"`,
|
|
||||||
"auth-retry nointeract",
|
"auth-retry nointeract",
|
||||||
"suppress-timestamps",
|
"suppress-timestamps",
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user