RSS
 

SSH实现Sock5代理

15 Jul

“你有张良计,我有过墙梯”。直面GFW,大家八仙过海,各显神通。

$ sudo ssh -D 127.0.0.1:3721 remote_host -l login_name

浏览器设置为SOCK5代理,SOCK host:127.0.0.1,PORT:3721

如果在控制台抛出如下错误

channel 2: open failed: administratively prohibited: open failed

需要修改服务器sshd_config文件的配置

AllowTcpForwarding yes

GatewayPorts yes

 
No Comments

Posted in GFW, linux

 

Tags: , , ,

Leave a Reply