mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-10-03 12:25:34 +08:00
Updated 网络不允许桥接的情况下,如何在虚拟机运行udp2raw (markdown)
@@ -22,6 +22,7 @@
|
||||
在mac上运行:
|
||||
```
|
||||
sudo su # 先切换到root账号
|
||||
|
||||
sysctl -w net.inet.ip.forwarding=1
|
||||
sysctl -w net.inet.ip.fw.enable=1 ##这两条的命令是开启ip_forward
|
||||
|
||||
|
Reference in New Issue
Block a user