Hello,
at i have followed instruction at Tor Project | Debian / Ubuntu to:
Edit your Tor config file, usually located at
/etc/tor/torrc
and replace its content …
adjusted values to be:
# grep -v “#” /etc/tor/torrc|grep .
BridgeRelay 1
ORPort 9xxx4
ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy
ServerTransportListenAddr obfs4 0.0.0.0:9xxx5
ExtORPort auto
ContactInfo xxx@xxx.xx
Nickname x.x-x
# journalctl -e -u tor@default
[warn] ORPort line has address but no port
[warn] Failed to parse/validate config: Invalid ORPort configuration
[err] Reading config failed–see warnings above.
Tor 0.4.7.11 running on Linux with Libevent 2.1.12-stable, OpenSSL 1.1.1n, Zlib 1.2.11, Liblzma 5.2.5, Libzstd 1.4.8 and Glibc 2.31 as libc.
How to change torrc please? My aim is to run obfs bridge.
UPDATE: i have changed port to be upper 4 digit instead of 5. And that worked (after fixing nickname to be like alphanumeric only 1-19 chars.). Anyone can commit change which would better describe in torrc on which port range to use and that nickname must be alphanumeric 1-19 chars.)? The error message is apparently wrong too. It should tell something like “Wrong ORPort or no port used”