Groups
Groups
Sign in
Groups
Groups
翻墙论坛
Conversations
About
Send feedback
Help
VPS部署SSH翻墙简明教程
371 views
Skip to first unread message
Gary12
unread,
Oct 14, 2015, 12:08:14 AM
10/14/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fq...@googlegroups.com
VPS部署SSH翻墙简明教程
1. 通过putty或SSH登录VPS,执行以下命令:
useradd
username
-M -s /sbin/nologin //创建一个最低权限的用户
passwd username //设定新创建用户的密码
2. 客户端下载plink:
http://the.earth.li/~sgtatham/putty/latest/x86/plink.exe
给plink单独建一个目录,并编写一个ssh.bat文件,内容如下:
plink -v -C -N -D 7070 username@vpsIP -pw password
把vps IP和上面创建的SSH用户名和密码填进去。
备注:如果是SSH端口不是22(比如搬瓦工那样的自定义端口),需要通过-P参数来指定端口,比如如果端口是21000,就是-P21000,完整命令是:
plink -v -C -N -D 7070 -P21000 username@vpsIP -pw password
运行该bat, 运行成功会有下面的提示
浏览器新建一个socks5:
127.0.0.1:7070
的代理即可。
windows下还可以使用图形界面的MyEnTunnel,需要启用动态套接字选项才能用,具体用法就不在此介绍了
连接成功会有这样的界面提示(我这里添加了obfs流量混淆)
linux下可以使用ssh或者sshpass,详细用法基本类似。
Auto Generated Inline Image 1
Auto Generated Inline Image 2
Auto Generated Inline Image 1
Reply all
Reply to author
Forward
0 new messages