You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 5.6 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <img src="shadowsocks-csharp/Resources/ssw128.png" alt="[logo]" width="48"/> Shadowsocks for Windows
  2. =======================
  3. [![Build Status]][Appveyor]
  4. [中文说明]
  5. #### Features
  6. 1. System proxy configuration
  7. 2. PAC mode and global mode
  8. 3. [GFWList] and user rules
  9. 4. Supports HTTP proxy
  10. 5. Supports server auto switching
  11. 6. Supports UDP relay (see Usage)
  12. 7. Supports plugins
  13. #### Download
  14. Download the latest release from [release page].
  15. #### Requirements
  16. Microsoft [.NET Framework 4.7.2] or higher, Microsoft [Visual C++ 2015 Redistributable] (x86) .
  17. #### Basic
  18. 1. Find Shadowsocks icon in the notification tray
  19. 2. You can add multiple servers in servers menu
  20. 3. Select `Enable System Proxy` menu to enable system proxy. Please disable other
  21. proxy addons in your browser, or set them to use system proxy
  22. 4. You can also configure your browser proxy manually if you don't want to enable
  23. system proxy. Set Socks5 or HTTP proxy to 127.0.0.1:1080. You can change this
  24. port in `Servers -> Edit Servers`
  25. #### PAC
  26. 1. You can change PAC rules by editing the PAC file. When you save the PAC file
  27. with any editor, Shadowsocks will notify browsers about the change automatically
  28. 2. You can also update PAC file from [GFWList] \(maintained by 3rd party)
  29. 3. You can also use online PAC URL
  30. For Windows10 Store and related applications, please execute the following command under Admin privilege:
  31. ```
  32. netsh winhttp import proxy source=ie
  33. ```
  34. #### Server Auto Switching
  35. 1. Load balance: choosing server randomly
  36. 2. High availability: choosing the best server (low latency and packet loss)
  37. 3. Choose By Total Package Loss: ping and choose. Please also enable
  38. `Availability Statistics` in the menu if you want to use this
  39. 4. Write your own strategy by implement IStrategy interface and send us a pull request!
  40. #### UDP
  41. For UDP, you need to use SocksCap or ProxyCap to force programs you want
  42. to be proxied to tunnel over Shadowsocks
  43. #### Multiple Instances
  44. If you want to manage multiple servers using other tools like SwitchyOmega,
  45. you can start multiple Shadowsocks instances. To avoid configuration conflicts,
  46. copy Shadowsocks to a new directory and choose a different local port.
  47. #### Plugins
  48. If you would like to connect to server via a plugin, please set the plugin's
  49. path (relative or absolute) on Edit Servers form.
  50. _Note_: Forward Proxy will not be used while a plugin is enabled.
  51. Details:
  52. [Working with non SIP003 standard Plugin].
  53. #### Global hotkeys
  54. Hotkeys could be registered automatically on startup.
  55. If you are using multiple instances of Shadowsocks,
  56. you must set different key combination for each instance.
  57. ##### How to input?
  58. 1. Put focus in the corresponding textbox.
  59. 2. Press the key combination that you want to use.
  60. 3. Release all keys when you think it is ready.
  61. 4. Your input appears in the textbox.
  62. ##### How to change?
  63. 1. Put focus in the corresponding textbox.
  64. 2. Press BackSpace key to clear content.
  65. 3. Re-input new key combination.
  66. ##### How to deactivate?
  67. 1. Clear content in the textbox that you want to deactivate,
  68. if you want to deactivate all, please clear all textboxes.
  69. 2. Press OK button to confirm.
  70. ##### Meaning of label color
  71. - Green: This key combination is not occupied by other programs and register successfully.
  72. - Yellow: This key combination is occupied by other programs and you have to change to another one.
  73. - Transparent without color: The initial status.
  74. #### Server Configuration
  75. Please visit [Servers] for more information.
  76. #### Experimental
  77. [Experimental Features]
  78. #### Development
  79. 1. [Visual Studio 2017] & [.NET Framework 4.7.2 Developer Pack] are required.
  80. 2. It is recommended to share your idea on the Issue Board before you start to work,
  81. especially for feature development.
  82. #### License
  83. [GPLv3]
  84. #### Open Source Components / Libraries
  85. ```
  86. GlobalHotKey (GPLv3) https://github.com/kirmir/GlobalHotKey
  87. Newtonsoft.Json (MIT) https://www.newtonsoft.com/json
  88. StringEx.CS () https://github.com/LazyMode/StringEx
  89. ZXing.Net (Apache 2.0) https://github.com/micjahn/ZXing.Net
  90. libsscrypto (GPLv2) https://github.com/shadowsocks/libsscrypto
  91. Privoxy (GPLv2) https://www.privoxy.org
  92. Sysproxy () https://github.com/Noisyfox/sysproxy
  93. ```
  94. [Appveyor]: https://ci.appveyor.com/project/celeron533/shadowsocks-windows
  95. [Build Status]: https://ci.appveyor.com/api/projects/status/tfw57q6eecippsl5/branch/master?svg=true
  96. [release page]: https://github.com/shadowsocks/shadowsocks-csharp/releases
  97. [GFWList]: https://github.com/gfwlist/gfwlist
  98. [Servers]: https://github.com/shadowsocks/shadowsocks/wiki/Ports-and-Clients#linux--server-side
  99. [中文说明]: https://github.com/shadowsocks/shadowsocks-windows/wiki/Shadowsocks-Windows-%E4%BD%BF%E7%94%A8%E8%AF%B4%E6%98%8E
  100. [Visual Studio 2017]: https://www.visualstudio.com/downloads/
  101. [.NET Framework 4.7.2]: https://dotnet.microsoft.com/download/dotnet-framework/net472
  102. [.NET Framework 4.7.2 Developer Pack]: https://dotnet.microsoft.com/download/dotnet-framework/net472
  103. [Visual C++ 2015 Redistributable]: https://www.microsoft.com/en-us/download/details.aspx?id=53840
  104. [GPLv3]: https://github.com/shadowsocks/shadowsocks-windows/blob/master/LICENSE.txt
  105. [Working with non SIP003 standard Plugin]: https://github.com/shadowsocks/shadowsocks-windows/wiki/Working-with-non-SIP003-standard-Plugin
  106. [Experimental Features]: https://github.com/shadowsocks/shadowsocks-windows/wiki/Experimental