Skip to content

akafeng/docker-phantun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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