ubuntu18 安装使用免费tor海外代理

安装tor,中间询问,输入y

apt-get install tor

找到tor配置文件

find / -name torrc

打开配置文件,去掉ControlPort 9051这行前面的注释,保存退出

## The port on which Tor will listen for local connections from Tor
## controller applications, as documented in control-spec.txt.
#ControlPort 9051
## If you enable the controlport, be sure to enable one of these
## authentication methods, to prevent attackers from accessing it.

重启tor

systemctl restart tor

你可能感兴趣的:(Linux开发,ubuntu)