Shadowsocks Client Setup Guide
shadowsocks, a fast tunnel proxy that helps you bypass firewalls. A secure socks5 proxy, designed to protect your Internet traffic. shadowsocks-windows is one of shadowsocks clients for Windows.
Download
Windows
Download the lastest release of shadowsocks-windows from github release page.
macOS
Download the lastest release of ShadowsocksX-NG from github release page.
Requirements
Windows
Download and install Microsoft .NET Framework 4.6.2 or higher (e.g. Microsoft .NET Framework 4.7.2), Microsoft Visual C++ 2015 Redistributable (x86).
macOS
No requirement.
Run
Windows
Choose a path (e.g. D:\Portable\shadowsocks\), extract the exe file from the zip package and run without install.
macOS
Extract the app file from the zip package, drag it to Finder → Applications, and run without install.
Setup
Surfing when using system
Windows
- Double click shadowsocks.exe (e.g. D:\Portable\shadowsocks\shadowsocks.exe).
- Find shadowsocks tray icon in the notification area.
- Double click the shadowsocks icon.
- Configure:
- Server Addr: server ip or host.
- Server Port & Password: server port and password.
- Encryption: choose a encryption.
- Remarks: fill something.
- Click OK.
- Right click the shadowsocks icon → System Proxy → PAC.
- Do somethine more:
- Right click the shadowsocks icon → Help → Verbose Logging.
- Right click the shadowsocks icon → PAC → Update Local PAC from GFWList.
- Right click the shadowsocks icon → PAC → uncheck Secure Local PAC.
- Visit Google and success. This means you can visit google through shadowsocks.
- Query ip in Baidu and show the same ip as before enabling shadowsocks. This means you can visit baidu directly.
- Now you could surf the Internet.
macOS
- Double click shadowsocks.
- Find shadowsocks icon in the menu bar.
- Click the shadowsocks icon → Proxy Auto Configure Mode.
- Click the shadowsocks icon → Servers → Server Preferences....
- Click the + icon and configure:
- Address: server ip or host in the left and server port in the right.
- Encryption: choose a encryption.
- Password: server port and password.
- Remarks: fill something.
- Click OK.
- Click the shadowsocks icon → Turn Shadowsocks On.
- Do somethine more:
- Click the shadowsocks icon → Update PAC from GFW List.
- Visit Google and success. This means you can visit google through shadowsocks.
- Query ip in Baidu and show the same ip as before enabling shadowsocks. This means you can visit baidu directly.
- Now you could surf the Internet.
Then only surfing when using browser (Windows)
Recommends: Firefox or Chrome.
You should do this step at first in Windows:
- Right click the shadowsocks icon → System Proxy → Disable.
Firefox
If you use Firefox, it is easy to configure.
- Due to technical limitations in the latest Firefox, it is not possible to enable PAC using add-ons. So you should delete or disable all add-ons about proxy in Firefox before the next steps.
- Find Open menu icon.
- Click the Open menu icon → Options.
- Find Network Settings.
- Click Settings....
- Choose Automatic proxy configuration URL: http://127.0.0.1:1080/pac.
- Click OK.
Chrome
If you use Chrome, it is easy to change your browser to Firefox.
Or if you have to use Chrome for some unreasonable reasons, follow this tons of steps.
- Install Proxy SwitchyOmega extension.
- Find SwitchyOmega icon.
- Click the SwitchyOmega icon → Options.
- Delete auto switch profile.
- Delete proxy profile.
- New profile... → Profile name: Shadowsocks All → check Proxy Profile → click Create.
- Configure:
- Protocol: SOCKS5.
- Server: 127.0.0.1.
- Port: 1080.
- Click Apply changes.
- New profile... → Profile name: Shadowsocks → check Switch Profile → click Create.
- Click Add a rule list and configure:
- Rule List Format: AutoProxy.
- Rule List URL: https://raw.githubusercontent.com/gfwlist/gfwlist/master/gfwlist.txt.
- Click Download Profile Now.
- Switch rules → Condition Type → Rule list rules → Shadowsocks All.
- Click Apply changes.
- Right click the shadowsocks icon → uncheck Enable System Proxy.
- Click the SwitchyOmega icon and check different profiles, test Google and query ip to see difference.
- Now you could only surf the Internet when using the browser.
Optional
Windows
- Right click the shadowsocks icon → Start on Boot.
- Right click the shadowsocks icon → Allow other Devices to connect.
macOS
- Click the shadowsocks icon → Preferences.... → General → Choose Launch At Login.
Debug
If you have any problem while using shadowsocks, try the following method:
Turn off shadowsocks, surf the Internet and check network connection…
Right click the shadowsocks icon → Help → Show Logs....
If there are many timeout s, it means bad network connection.
If there are many System.Net.Sockets.SocketException s, please contact shadowsocks administrator.
More
Read shadowsocks-windows README.md.
Find clients for other platforms.