Obfs4 port meaning

I think i didn’t understand well and i have failed helping users in Turkmenistan with my bridges

ORPort is port towards TOR Relays and ServerTransportListenAddr obfs4 is the port towards users? If yes then I got it wrong and i inverted my ports because i thought ORPort is the port towards users

excrept from my config :slight_smile:

ORPort 8080
ServerTransportPlugin obfs4 exec /usr/bin/obfs4proxy
ServerTransportListenAddr obfs4 0.0.0.0:2023
ExtORPort auto

For bridges, the ServerTransportListenAddr is the port the client should use.
For relays, ORPort is the main port being useful. That’s also true for vanilla bridges (bridges with no pluggable transport). For most bridges, the ORPort is useful to asses your own reachability, and gets little use otherwise.

The ExtORPort is the one used to communicate between PT and tor. It’s mostly an ORPort with some additional metadata, to allow the pluggable transport to tunnel some information about the client (things like their IP, for statistic gathering purpose). It doesn’t need to be reachable from the internet (and default to binding on localhost), so you don’t have to really do much about it.

iirc in Turkmenistan, 8080 is one of the few ports that can work, so you’d want to use that for your ServerTransportListenAddr. You can put anything as an ORPort

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.