Setting up Bridge on Fedora 36

Hey you all,

I hope the category is correct. I tried to set up an tor bridge in Fedora 36 and I am encountering an Error i cant fix. When i follow the installation guide (Tor Project | Fedora) and execute “systemctl enable --now tor” i get the following error response.

Loaded: loaded (/usr/lib/systemd/system/tor.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Mon 2022-11-07 09:38:19 CET; 3min 42s ago
Process: 1944 ExecStartPre=/usr/bin/tor --runasdaemon 0 --defaults-torrc /usr/share/tor/defaults-torrc -f /etc/tor/torrc --verify-config (code=exited, status=0/SUCCESS)
Process: 1945 ExecStart=/usr/bin/tor --runasdaemon 0 --defaults-torrc /usr/share/tor/defaults-torrc -f /etc/tor/torrc (code=exited, status=1/FAILURE)
Main PID: 1945 (code=exited, status=1/FAILURE)

Nov 07 09:38:19 server systemd[1]: tor.service: Scheduled restart job, restart counter is at 5.
Nov 07 09:38:19 server systemd[1]: Stopped tor.service - Anonymizing overlay network for TCP.
Nov 07 09:38:19 server systemd[1]: tor.service: Start request repeated too quickly.
Nov 07 09:38:19 server systemd[1]: tor.service: Failed with result ‘exit-code’.
Nov 07 09:38:19 server systemd[1]: Failed to start tor.service - Anonymizing overlay network for TCP.

Is that a common problem ? Have i fucked up and am to stupid to find the error ?

Thank you for your help in advance

Did you open your ports at firewall ? did you follow settings on tor website to set to bridge ? What version tor are you using ?

systemctl status unfortunately does show very much of the log, you may find journalctl -eu tor to be better for that. (On debian it’s journalctl -eu tor@default)

Ty for the fast response.

Tor 0.4.7.10 running on Linux with Libevent 2.1.12-stable, OpenSSL 3.0.5, Zlib 1.2.11, Liblzma 5.2.5, Libzstd 1.5.2 and Glibc 2.35 as libc

Those are the lines in journalctl -eu tor that produce warining or errors:

Information on open ports:

  • ports: 10101/tcp
  • services: dhcpv6-client http mdns ssh
  • Nov 08 08:18:46 server tor[8431]: Nov 08 08:18:46.483 [warn] Could not bind to 0.0.0.0:10102: Permission denied
  • Nov 08 08:18:46 server tor[8431]: Nov 08 08:18:46.483 [warn] Could not bind to :::10102: Permission denied
  • Nov 08 08:18:46 server tor[8431]: Nov 08 08:18:46.484 [warn] Failed to parse/validate config: Failed to bind one of the listener ports.

your config file is right setup ? Did you open ports on modem ?

I have figured i out by myself you have to turn SeLinux off.

You can do that by setenforce 0.

Ty for the help anyway.