ORPort 12345 IPv4Only
ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy
ServerTransportListenAddr obfs4 0.0.0.0:12345
ExtORPort auto
BridgeRelay 1
RelayBandwidthRate 80000 KBytes # Throttle traffic to 100KB/s (800Kbps)
RelayBandwidthBurst 80000 KBytes # But allow bursts up to 200KB (1600Kb)
## Set a maximum of 40 gigabytes each way per period.
AccountingMax 100 GBytes
## Each period starts daily at midnight (AccountingMax is per day)
AccountingStart day 00:00
MaxMemInQueues 356M
ControlPort 0.0.0.0:9051
CookieAuthentication 1
Mount that file in /config/torrc.bridge.default
FROM arm32v5/debian
ARG DEBIAN_FRONTEND="noninteractive"
ENV XDG_DATA_HOME="/config" \
XDG_CONFIG_HOME="/config"
RUN apt-get update \
&& apt-get upgrade
RUN apt-get install nyx tor obfs4proxy -y
RUN useradd -ms /bin/bash tor
USER tor
CMD [ "tor", "-f", "/config/torrc.bridge.default" ]
Content type
Image
Digest
Size
102.2 MB
Last updated
almost 5 years ago
docker pull maauso/tor-relay-bridge:arm32v5-v1