Created
July 24, 2018 07:48
-
-
Save Lax/07023d97edad0744dec63c328dcf423a to your computer and use it in GitHub Desktop.
shadowsocks over kcptun quick setup
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
version: "3.2" | |
services: | |
shadowsocks: | |
image: centos | |
ports: | |
- 2048:2048 | |
restart: always | |
command: bash -c "yum install python-setuptools -y && easy_install pip && pip install shadowsocks && ssserver -p 2048 -k ${PASSWORD:-DEFAULT_PASSWORD} -t 300 --fast-open --workers 3 -m aes-256-cfb --user nobody" | |
kcptun: | |
image: xtaci/kcptun | |
ports: | |
- 4096:29900/udp | |
links: | |
- shadowsocks | |
restart: always | |
command: server -l ':29900' -t ss:2048 -mode fast --key ${PASSWORD:-DEFAULT_PASSWORD} --crypt aes-192 | |
volumes: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment