Which ports are allowed by default on Tor exit relays?
Tor exit relays have a default exit policy that blocks some high-risk or abuse-prone ports but allows most other ports unless the operator changes the configuration.
By default, Tor exit relays block some IP ranges and a number of ports that are commonly abused, but allow most other ports. Relay operators can override this policy in their torrc configuration or even modify the source code to adjust it.
reject 0.0.0.0/8
reject 169.254.0.0/16
reject 127.0.0.0/8
reject 192.168.0.0/16
reject 10.0.0.0/8
reject 172.16.0.0/12
reject *:25
reject *:119
reject *:135-139
reject *:445
reject *:563
reject *:1214
reject *:4661-4666
reject *:6346-6429
reject *:6699
reject *:6881-6999
accept *:*