Skip to content

Latest commit

 

History

History
executable file
·
51 lines (40 loc) · 1.23 KB

README.md

File metadata and controls

executable file
·
51 lines (40 loc) · 1.23 KB

Phantun

A lightweight and fast UDP to TCP obfuscator.

Container Registry · Project Source


Environment Variables

Name Default Example
TZ UTC Asia/Shanghai
RUN_MODE server client
LOCAL_ADDR - -
REMOTE_ADDR - -
TUN_NAME - tun0
TUN_LOCAL 192.168.201.1 -
TUN_PEER 192.168.201.2 -

Pull The Image

$ docker pull ghcr.io/akafeng/phantun

Start Container

$ docker run -d \
  --env LOCAL_ADDR="4567" \
  --env REMOTE_ADDR="127.0.0.1:1234" \
  --device=/dev/net/tun \
  --cap-add=NET_ADMIN \
  --network=host \
  --restart=unless-stopped \
  --name=phantun \
  ghcr.io/akafeng/phantun