server side compose file
kcp-server:
image: lowid/kcptun:v20170329
command:
--listen :29900
--target dante-server:1080
--mode fast2
ports:
- "30003:29900/udp"
environment:
- KCPTUN_KEY=your_password
links:
- dante-server
restart: always
dante-server:
image: vimagick/dante
expose:
- "1080"
volumes:
- ./sockd.conf:/etc/sockd.conf
restart: always
sockd.conf
debug: 0
logoutput: stderr
internal: 0.0.0.0 port = 1080
external: eth0
socksmethod: username none
clientmethod: none
user.privileged: root
user.unprivileged: nobody
client pass {
from: 0.0.0.0/0 port 1-65535 to: 0.0.0.0/0
log: error
}
socks pass {
from: 0.0.0.0/0 to: 0.0.0.0/0
#socksmethod: username
log: error
}
client side compose file
client:
image: lowid/kcptun:v20170329
entrypoint: client_linux_amd64
command:
--localaddr :12948
--remoteaddr server_ip_address:30003
--mode fast2
ports:
- "12948:12948/tcp"
environment:
- KCPTUN_KEY=your_password
restart: always
Content type
Image
Digest
Size
5.7 MB
Last updated
almost 9 years ago
docker pull lowid/kcptun