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