Skip to content

shdxiang/limited-socks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

limited-socks

Shadowsocks server with bandwidth limitation.

Usage

Limit egress to 512 kB/s, i.e. 4 Mbit/s:

docker run --cap-add=NET_ADMIN -dt -p 8000:8000 -e PASSWORD="password" -e LIMIT="rate 4mbit peakrate 8mbit burst 64kb" shdxiang/limited-socks

It is equivalent to run following commands in container:

tc qdisc add dev eth0 root tbf rate 4mbit peakrate 8mbit burst 64kb latency 50ms minburst 1540
ss-server -p 8000 -m aes-256-cfb -k password --fast-open

About

Shadowsocks server with bandwidth limitation.

Resources

License

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages