0%

Ubuntu走局域网代理

Devices: Ubuntu 18.04 & Windows 10

  1. set proxy allow other devices to connect

  2. set ubuntu system proxy(can also set it at Settings/Network/Network Proxy)

1
2
3
4
5
vim ~/.bashrc
export http_proxy=http://xxx:1080
export https_proxy=https://xxx:1080

source ~/.bashrc
  1. curl www.yingjoy.com