1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-28 17:51:24 +00:00
dockerfiles/iptables/README.md

32 lines
478 B
Markdown
Raw Normal View History

2015-09-26 15:46:38 +00:00
iptables
========
- iptables: filter ports
- tc: control traffic
## docker-compose.yml
```
shadowsocks:
image: vimagick/shadowsocks-libev
environment:
- DNS_ADDR=8.8.8.8
- METHOD=chacha20
- PASSWORD=GUB61zGB2
net: container:iptables
restart: always
iptables:
image: vimagick/iptables
ports:
- "8388:8388"
environment:
- TCP_PORTS=80,443
- UDP_PORTS=53
- RATE=4mbit
- BURST=4mbit
cap_add:
- NET_ADMIN
restart: always
```