Skip to content

Instantly share code, notes, and snippets.

@bigtan
Created September 17, 2017 03:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bigtan/1997db1aad65ab9d1cd4d77c210af7b9 to your computer and use it in GitHub Desktop.
Save bigtan/1997db1aad65ab9d1cd4d77c210af7b9 to your computer and use it in GitHub Desktop.
shadowsocks.service
[Unit]
Description=Shadowsocks Server
After=network.target
[Service]
ExecStart=/usr/local/bin/obfs-server -s 0.0.0.0 -p 4001 --obfs http -r 127.0.0.1:4000
User=nobody
Group=nogroup
[Install]
WantedBy=multi-user.target
[Unit]
Description=Shadowsocks Server
After=network.target
[Service]
ExecStart=/usr/local/bin/ss-server -s 0.0.0.0 -p 4000 -k password -m chacha20-ietf-poly1305 -d 8.8.8.8 -u
User=nobody
Group=nogroup
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment