mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-02-07 23:59:36 +08:00
Updated 网络不允许桥接的情况下,如何在虚拟机运行udp2raw (markdown)
parent
9aba8d4fbc
commit
184d38603e
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user