File size: 496 Bytes
6c71751 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
version: '3.8'
services:
nat-gateway:
build: .
container_name: nat-gateway
privileged: true
cap_add:
- NET_ADMIN
- SYS_MODULE
ports:
- "2222:22" # SSH port
- "1080:1080" # SOCKS5 port
volumes:
- ./ssh-config:/app/ssh-config
- ./socks5-config:/app/socks5-config
restart: unless-stopped
networks:
- nat-network
networks:
nat-network:
driver: bridge
ipam:
config:
- subnet: 172.20.0.0/16
|