Lately I have been trying to set up an obfs4 bridge on my RaspberryPi 3 (running Raspbian 9 (stretch) ) following the official guide.
After setting up the torrc file to:

OrPort [PORT1]
SeverTransportPlugin obfs4 exec /usr/bin/obfs4proxy
ServerTransportAddr obfs4[PORT2]
ExtORPort auto
ContactInfo [EMAIL]
Nickname [NAME]
ExitRelay 0

and changing NoNewPrivileges=no in /lib/systemd/system/tor@default.service and /lib/systemd/system/tor@.service prior to restarting the daemon and tor, as well as setting up the portforwarding for both ports in the router, the ORPort gets set up properly (is reachable using the official tool).

But every attempt trying to connect to the obfs4 port fails with:

dial tcp [IP]:[Port2]: connect: connection refused

Now looking at the log files /etc/log/tor/log, there is one warning about the obfs4proxy:

[warn] Could not launch managed proxy executable at '/usr/bin/obfs4proxy' ('No such file or directory')

The thing is, that the obfs4proxy file actually exists in the directory and trying to start it manually fails with:

[ERROR]: obfs4proxy - must be run as a managed transport

Any idea what I might be doing wrong? Any suggestions on how I can get the bridge up and running?


tor-version: stable
obfs4proxy-version: 0.0.7-1 stable

  • The exact versions of the tor and obfs4proxy packages you have installed might be useful to know.
    – womble
    Oct 16 '19 at 8:43
  • @womble Oups forgot that... Should be fixed now. Thanks a lot for the heads-up!
    – TrNe
    Oct 17 '19 at 15:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.