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.
- Select Apple > System Preferences
- Click Network
- Select the network interface you wish to use
- Click Advanced
- Click Proxies
- Select Configure Proxies > Manually (onlynecessary on Leopard and earlier)
- Check the box beside SOCKS Proxy
- fill in ‘localhost’ and ‘1080’
- Click OK or Click Apply
Set up Firefox
- Select Firefox > Preferences
- Click Advanced
- Click Network
- Click Settings
- Click ‘Manual proxy configuration’
- Besides SOCKS Host, fill in ‘localhost’ and ‘8080’
- Do not fill in any other fields, including ‘HTTP Proxy’
- Click SOCKS v5
- Click OK
FROM : virzz.com | Author:Virink
- 左青龙
- 微信扫一扫
- 右白虎
- 微信扫一扫
评论