此教程使用的是 Ubuntu 18.04 x64
"run_type": "client",
"local_addr": "0.0.0.0",
"local_port": 1080,
"remote_addr": "219.22.49.201",
"remote_port": 22201,
"password": ["123456"],
ssl中的 sni 为主机SNI名,如 "jpo123.ovod.me",对应节点内容里的"服务器SNI"
"sni": "jpo123.ovod.me",
"verify": false,
"verify_hostname": false,
"cert": "",
cat > /etc/systemd/system/.service <<-EOF
[Unit]
Description=
After=network.target
[Service]
Type=simple
PIDFile=/usr/src%22.pid%22 tppabs="https://666.xbsj.org//.pid"
ExecStart=/usr/src// -c /usr/src%22config.json%22 tppabs="https://666.xbsj.org//config.json" -l /usr/src//.log
ExecReload=/bin/kill -HUP \$MAINPID
Restart=on-failure
RestartSec=1s
[Install]
WantedBy=multi-user.target
EOF
curl ip.sb --socks5 127.0.0.1:1080
, 查看结果是否为代理的IP
sudo apt-get install proxychains
sudo vi /etc/proxychains.conf
socks5 127.0.0.1 1080
curl -4 ip.sb
,将显示自己的IP
proxychains curl -4 ip.sb
,将显示代理的IP
proxychains
即可
proxychains npm install
wget http://www.linuxidc.com/files/repo/google-chrome.list -P /etc/apt/sources.list.d/
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
apt-get update
apt-get install google-chrome-stable