Custom Rules for ShadowSocks

· 1 min read · 114 Words · -Views -Comments

Click the ShadowSocks menu → Edit User Rules. Use the format below:

! Put user rules line by line in this file.
! See https://adblockplus.org/en/filter-cheatsheet
||amazonaws.com
||atom.io

Save and you’re done.

Rule syntax overview

Wildcards are supported. E.g. *.example.com/* can be written as .example.com/
Regular expressions start and end with \. Example: \[\w]+:\/\/example.com\
Exception rules start with @@. Example: @@*.example.com/* bypasses the proxy.
| anchors the beginning or end. Example: |http://example.com or example.com|
||example.com matches http/https/ftp etc. (prefix match).
Comments start with !.
^ denotes a separator (any char except letters, digits, _ - . %).

BandwagonHost Overview BandwagonHost (IT7 Networks, USA) offers budget OVZ VPS plans. Reliable and inexpensive—good value for money. https://bandwagonhost.com/

Authors
Developer, digital product enthusiast, tinkerer, sharer, open source lover