sudo apt-get install tsocks gstm
vi /etc/tsocks.conf
local = 127.0.0.1/255.255.255.255 # Set the IP of your SSH server
server = 127.0.0.1
server_type = 5
server_port = 1234
sudo ssh -qTfnN -D 127.0.0.1:1234 alvin@15vpn.com
tsocks bundle install
tsocks curl whatismyip.org
vi /etc/tsocks.conf
local = 127.0.0.1/255.255.255.255 # Set the IP of your SSH server
server = 127.0.0.1
server_type = 5
server_port = 1234
sudo ssh -qTfnN -D 127.0.0.1:1234 alvin@15vpn.com
tsocks bundle install
tsocks curl whatismyip.org
本文介绍如何使用sudo权限安装tsocks,并配置/etc/tsocks.conf文件设置本地IP及SSH服务器参数。通过ssh命令建立远程代理,最后使用tsocks bundle安装tsocks并验证代理是否生效。
8112

被折叠的 条评论
为什么被折叠?



