Updated 网络不允许桥接的情况下,如何在虚拟机运行udp2raw (markdown)

wangyu- 2017-11-18 21:05:05 -08:00
parent 927e0e87e6
commit a6f74bd031

@ -50,6 +50,10 @@ echo `nameserver 8.8.8.8` >>/etc/resolv.conf #添加dns
把虚拟机的网络设置成刚才创建的host-only网路。(setting--->network adapter,网络类型选custom然后选刚才建立的host-only网络)
![](https://raw.githubusercontent.com/wangyu-/udp2raw-tunnel/master/images/wiki/windows_nat_vm1.PNG)
![](https://raw.githubusercontent.com/wangyu-/udp2raw-tunnel/master/images/wiki/windows_nat_vm2.PNG)
### 在Windows里设置网络共享
首先,在`网络`中找到你的Windows上网所用的网卡。右键-->properity-->sharing勾选“allow other user....”选择刚才创建的host-only网络所对应的网卡。