Created
January 13, 2023 02:21
-
-
Save chenshaoju/e71a3808c7e8dc501123ef6ecbda2e7c to your computer and use it in GitHub Desktop.
shadowsocks-local (ss-local) configure example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Transport": "direct", | |
"ProxyMethod": "shadowsocks", | |
"EncryptionMethod": "plain", | |
"UID": "CHANGE_ME", | |
"PublicKey": "CHANGE_ME", | |
"ServerName": "www.amazon.com", | |
"AlternativeNames": ["www.apple.com", "www.cambridge.org", "www.linkedin.com", "www.microsoft.com", "www.walmart.com", "www.bestbuy.com", "www.ebay.com", "www.samsung.com", "store.steampowered.com", "www.cdc.gov", "www.adobe.com", "www.speedtest.net", "www.playstation.com", "www.sony.com", "www.ea.com", "www.calculator.net", "www.paypal.com"], | |
"NumConn": 6, | |
"BrowserSig": "chrome", | |
"StreamTimeout": 300 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"server":"CHANGE_ME", | |
"server_port":443, | |
"local_port":1080, | |
"mode":"tcp_only", | |
"method":"aes-256-gcm", | |
"password":"CHANGE_ME", | |
"timeout":300, | |
"plugin":"/opt/ck-client", | |
"plugin_opts":"/etc/shadowsocks-libev/ck-client.json" | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Shadowsocks Client Service | |
After=network-online.target | |
Wants=network-online.target | |
[Service] | |
User=root | |
Group=root | |
Type=simple | |
Restart=on-failure | |
RestartSec=5s | |
ExecStart=ss-local -c /etc/shadowsocks/ss-myself.json | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment