services: vless_tun_client: #image: vless-transparent-client build: ./ #sysctls: # - net.ipv4.ip_forward=1 # devices: # - /dev/net/tun:/dev/net/tun devices: - /dev/net/tun cap_add: - NET_ADMIN - SYS_MODULE sysctls: net.ipv4.conf.all.src_valid_mark: 1 env_file: - .env # environment: # - SERVER_ADDRESS=your-server.com # - UUID=your-uuid # - PUBLIC_KEY=server-public-key # - SERVER_NAME=real-website.com # tester: # image: alpine:latest # network_mode: "service:vless_tun_client" # command: sh -c "apk add curl && curl -s ifconfig.me"