mirror of
https://github.com/wangyu-/udp2raw.git
synced 2025-02-11 09:39:35 +08:00
Updated 网络不允许桥接的情况下,如何在虚拟机运行udp2raw (markdown)
parent
b442729329
commit
2595ece052
@ -1,3 +1,10 @@
|
|||||||
|
# 背景
|
||||||
|
你的宿主机通过直接插网线PPPOE号上,那么你将无法使用桥接模式的虚拟机。这
|
||||||
|
|
||||||
|
这里提供一种解决办法。思路是用虚拟机提供的host-only网路,然后自己手动在Mac/Windows上设置NAT,把网络分享给虚拟机。
|
||||||
|
|
||||||
|
(注:不可以用虚拟机自带的NAT功能。无论是Vmware还是virtual Box, 都没有实现真正的NAT,虚拟机自带的NAT功能会导致很多网络工具无法使用,包括udp2raw)
|
||||||
|
|
||||||
# Macos + Virtual Box
|
# Macos + Virtual Box
|
||||||
在mac上运行:
|
在mac上运行:
|
||||||
```
|
```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user