[Chore]升级项目依赖
[Chore]隐藏TUN模式在system堆栈启动时弹窗
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user