Virink's Blog logo

Virink's Blog

Let life be beautiful like summer flowers, and death like autume leaves.

 SSH代理轉socks5

Set up the SSH tunnel

ssh -D 1080 -f -C -q -N user@host
ssh -qTfnN -D 7070 -p 22 user@host

Set up System Preferences

This is for Safari and other WebKit-based browsers.

Note: this will also affect Mail and other CFNetwork-based applications.

  1. Select Apple > System Preferences
  2. Click Network
  3. Select the network interface you wish to use
  4. Click Advanced
  5. Click Proxies
  6. Select Configure Proxies > Manually (onlynecessary on Leopard and earlier)
  7. Check the box beside SOCKS Proxy
  8. fill in ‘localhost’ and ‘1080’
  9. Click OK or Click Apply

Set up Firefox

  1. Select Firefox > Preferences
  2. Click Advanced
  3. Click Network
  4. Click Settings
  5. Click ‘Manual proxy configuration’
  6. Besides SOCKS Host, fill in ‘localhost’ and ‘8080’
  7. Do not fill in any other fields, including ‘HTTP Proxy’
  8. Click SOCKS v5
  9. Click OK
本文标题 : SSH代理轉socks5
文章作者 : Virink
发布时间 :  
最后更新 :  
本文链接 : https://www.virzz.com/2016/12/25/ssh_proxy_to_socks5.html
转载声明 : 转载请保留原文链接及作者。
转载说明 : 本卡片有模板生成,本人转载来的文章请忽略~~