Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e893b4e

Browse files
authored
Merge pull request netchx#276 from zhuzai123/master
Update TUNTAPController.cs
2 parents d67b219 + c7d6dee commit e893b4e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Netch/Controllers/TUNTAPController.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,9 @@ public bool SetupBypass()
228228
if (int.TryParse("32", out var prefix))
229229
{
230230
NativeMethods.CreateRoute("1.1.1.1", prefix, Global.Settings.TUNTAP.Gateway, Global.TUNTAP.Index);
231+
NativeMethods.CreateRoute("8.8.8.8", prefix, Global.Settings.TUNTAP.Gateway, Global.TUNTAP.Index);
232+
NativeMethods.CreateRoute("9.9.9.9", prefix, Global.Settings.TUNTAP.Gateway, Global.TUNTAP.Index);
233+
NativeMethods.CreateRoute("185.222.222.222", prefix, Global.Settings.TUNTAP.Gateway, Global.TUNTAP.Index);
231234
}
232235
}
233236
}

0 commit comments

Comments
 (0)