Skip to content

Commit 5171e81

Browse files
Restore original openvpn routes when connecting without split tunnel or using split tunnel exclude mode [VPNWIN-674]
1 parent 7f5f010 commit 5171e81

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/ProtonVPN.Vpn/OpenVpn/Arguments/BaseRouteArgument.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,6 @@ public IEnumerator<string> GetEnumerator()
4040
yield return "--pull-filter ignore \"redirect-gateway\"";
4141
yield return "--route 0.0.0.0 0.0.0.0 vpn_gateway 32000";
4242
break;
43-
case SplitTunnelMode.Block:
44-
yield return "--pull-filter ignore \"redirect-gateway\"";
45-
yield return "--route 0.0.0.0 0.0.0.0 net_gateway 32000";
46-
yield return "--route 0.0.0.0 0.0.0.0 vpn_gateway";
47-
break;
48-
default:
49-
yield return "--pull-filter ignore \"redirect-gateway def1\"";
50-
yield return "--redirect-gateway";
51-
yield return "--route 0.0.0.0 0.0.0.0 net_gateway";
52-
break;
5343
}
5444
}
5545

0 commit comments

Comments
 (0)