Ubuntu 下 安装 ss

来源:互联网 发布:电脑音效软件 编辑:程序博客网 时间:2024/05/16 06:50

过PPA源安装,仅支持Ubuntu 14.04或更高版本。

sudo add-apt-repository ppa:hzwhuang/ss-qt5sudo apt-get updatesudo apt-get install shadowsocks-qt5

sudo apt-get install proxychains修改配置文件 (/etc/proxychains.conf),应该如下:

# proxychains.conf  VER 3.1##        HTTP, SOCKS4, SOCKS5 tunneling proxifier with DNS.## The option below identifies how the ProxyList is treated.# only one option should be uncommented at time,# otherwise the last appearing option will be accepted#dynamic_chain## Dynamic - Each connection will be done via chained proxies# all proxies chained in the order as they appear in the list# at least one proxy must be online to play in chain# (dead proxies are skipped)# otherwise EINTR is returned to the app##strict_chain## Strict - Each connection will be done via chained proxies# all proxies chained in the order as they appear in the list# all proxies must be online to play in chain# otherwise EINTR is returned to the app##random_chain## Random - Each connection will be done via random proxy# (or proxy chain, see  chain_len) from the list.# this option is good to test your IDS :)# Make sense only if random_chain#chain_len = 2# Quiet mode (no output from library)#quiet_mode# Proxy DNS requests - no leak for DNS dataproxy_dns # Some timeouts in millisecondstcp_read_time_out 15000tcp_connect_time_out 8000# ProxyList format#       type  host  port [user pass]#       (values separated by 'tab' or 'blank')###        Examples:##            socks5192.168.67.781080lamersecret#http192.168.89.38080justuhidden# socks4192.168.1.491080#        http192.168.39.938080###       proxy types: http, socks4, socks5#        ( auth types supported: "basic"-http  "user/pass"-socks )#[ProxyList]# add proxy here ...# meanwile# defaults set to "tor"socks5 127.0.0.1 1080

运行 proxychains运行 proxychains 跟运行 tsocks 完全一样。在终端中:proxychains 你的软件 &比如说:proxychains chromium-browser &我还是推荐你使用 proxychains!

0 0