No Description

dependabot[bot] 73a654da6f build(deps): bump alpine from 3.19.0 to 3.19.1 (#61) 1 month ago
.github a778e1423a build(deps): bump docker/build-push-action from 5.0.0 to 5.1.0 (#58) 4 months ago
CHANGELOG.md de1c108a73 replace obfs4proxy with lyrebird 7 months ago
Dockerfile 73a654da6f build(deps): bump alpine from 3.19.0 to 3.19.1 (#61) 1 month ago
Makefile de1c108a73 replace obfs4proxy with lyrebird 7 months ago
README.md de1c108a73 replace obfs4proxy with lyrebird 7 months ago
ansible-playbook.yml aa4fbfac01 ansible-playbook: rename data volume to avoid collision with container name, drop capabilities & block gaining new privileges 3 years ago
entrypoint.sh cdb9908269 upgrade alpine base image v3.11 -> v3.12; reduce number of image layers; use build args to pin package versions 3 years ago
torrc.template de1c108a73 replace obfs4proxy with lyrebird 7 months ago

README.md

docker: tor obfs4 bridge 🐳

Tor bridge running obfs4 obfuscation protocol via lyrebird on Alpine

Alpine port of https://dip.torproject.org/torproject/anti-censorship/docker-obfs4-bridge

usage

select a random $OR_PORT and $PT_PORT

(see /proc/sys/net/ipv4/ip_local_port_range for range)

docker run --name tor_obfs4_bridge \
    -e OR_PORT=42218 -p 42218:42218 \
    -e PT_PORT=51804 -p 51804:51804 \
    -e CONTACT_INFO=admin@optional.com \
    fphammerle/tor-obfs4-bridge

add -v tor_obfs4_bridge_data:/var/lib/tor to keep server's identity key when restarting the container

additionally add --read-only --tmpfs /tmp:rw,size=4k to make the container's root filesystem read only

verify status of bridge at https://metrics.torproject.org/rs.html

further reading

https://community.torproject.org/relay/setup/bridge/