Ubuntu系统下Firefox穿墙时发现,原来在linux下翻墙是如此的容易!
本文面向的用户:使用Ubuntu作为操作系统并且使用Firefox作为常用浏览器,且有SSH账号的!
一、打开终端:Ctrl+Alt+T
在终端中输入:sudo ssh -qTfnN -D 7070 user@ip

q :- be very quite, we are acting only as a tunnel. 使用安静模式
-T :- Do not allocate a pseudo tty, we are only acting a tunnel.不要分配tty
-f :- move the ssh process to background, as we don’t want to interact with this ssh session directly. 后台运行
-N :- Do not execute remote command.不执行远程命令
-n :- redirect standard input to /dev/null.从定向输出到/dev/null
7070:为端口号
user:用户名
ip:IP地址或者域名

稍后会出现提示: Are you sure you want to continue connecting (yes/no)?
输入:yes (注意,单单输入 y 是不行地~)
然后提示输入密码
二、配置Firefox浏览器
如果你正使用Firefox浏览器阅读本文。
一键安装:https://www.switchyomega.com/file/Proxy-Switchyomega-Firefox-2.5.16.xpi
击立即安装,安装后,重新启动Firefox。
具体配置详见:Proxy SwitchyOmega代理

Last modification:October 22, 2018
If you think my article is useful to you, please feel free to appreciate