No Description

dependabot[bot] e573f7c7f6 build(deps): bump docker/setup-buildx-action from 2.4.0 to 2.4.1 (#40) 1 year ago
.github e573f7c7f6 build(deps): bump docker/setup-buildx-action from 2.4.0 to 2.4.1 (#40) 1 year ago
CHANGELOG.md 17928dab24 release v1.1.0 3 years ago
Dockerfile a238fc524e upgrade obfs4proxy package from v0.0.14-r3 to v0.0.14-r4 (go v1.20 rebuild) 1 year ago
Makefile 92bd9c7011 makefile: add obfs4proxy version to image tag 3 years ago
README.md 8d6514c2bd move tor data directory to mount point /var/lib/tor 4 years ago
ansible-playbook.yml aa4fbfac01 ansible-playbook: rename data volume to avoid collision with container name, drop capabilities & block gaining new privileges 4 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 4 years ago
obfs4proxy-changelog.url 3a54e2d381 upgrade obfs4proxy package from v0.0.13-r3 to v0.0.14-r0 2 years ago
obfs4proxy-package-log.url 18b474641d upgrade obfs4proxy package from v0.0.14-r1 to v0.0.14-r2 (go-1.19.3 rebuild) 2 years ago
tor-package-log.url 5b75a6e41a upgrade tor package from v0.4.7.10-r0 to v0.4.7.12-r0 (see below) and obfs4proxy package from v0.0.14-r2 to v0.0.14-r3 (go v1.19.4 rebuild) 1 year ago
torrc.template 8d6514c2bd move tor data directory to mount point /var/lib/tor 4 years ago

README.md

docker: tor obfs4 bridge 🐳

Tor bridge running obfs4 obfuscation protocol 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/