dependabot[bot] 89b822a7a3 build(deps): bump alpine from 3.16.0 to 3.16.1 | 2 years ago | |
---|---|---|
.github | 2 years ago | |
CHANGELOG.md | 3 years ago | |
Dockerfile | 2 years ago | |
Makefile | 3 years ago | |
README.md | 4 years ago | |
ansible-playbook.yml | 4 years ago | |
entrypoint.sh | 4 years ago | |
obfs4proxy-package-log.url | 2 years ago | |
tor-package-log.url | 2 years ago | |
torrc.template | 4 years ago |
Tor bridge running obfs4 obfuscation protocol on Alpine
Alpine port of https://dip.torproject.org/torproject/anti-censorship/docker-obfs4-bridge
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