I have ubuntu20 installed in VMware on windows 10, with host only NIC mode. windows 10 has a shadowsocks client started to allow other devices to connect to it, and I have set up a proxy connection in ubuntu to 192.168.0.1:1080 (windows shadowsocks).
The web browser can access google, but why is ubuntu unable to ping www.google.com and there is no way to sudo apt install anything. (I want all traffic on this ubuntu to go through windows shadowsocks.)
http proxy does not forward ping
requests.
To use the proxy for installing packages, try
export http_proxy=192.168.0.1:1080
export https_proxy=192.168.0.1:1080
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.