前提
機器上事先安裝vmware workstation和shadowsocks
shadowsocks允許局域網連接
vmware網卡配置
配置centos代理
代理的IP爲宿主機IP,端口爲shadowsocks端口,一般爲1080。
# vi /etc/profile
http_proxy=http://your-host-ip:1080
https_proxy=http://your-host-ip:1080
export http_proxy https_proxy
# source /etc/profile