Merge remote-tracking branch 'Meta/Alpha' into Alpha

This commit is contained in:
MetaCubeX
2022-03-30 13:19:05 +08:00
14 changed files with 111 additions and 123 deletions

View File

@ -151,6 +151,7 @@ func setAtLatest(stackType C.TUNStack, devName string) {
switch runtime.GOOS {
case "windows":
_, _ = cmd.ExecCmd("ipconfig /renew")
case "linux":
// _, _ = cmd.ExecCmd("sysctl -w net.ipv4.ip_forward=1")
// _, _ = cmd.ExecCmd("sysctl -w net.ipv4.conf.all.forwarding = 1")