Skip to content

arti-relay: Add config options for OR port

This adds the config option for the OR port and uses it for listening. I also added an "advertise" config option that is unused.

The config format looks like:

[relay]
listen = 8443 # listen at "0.0.0.0:8443" and "[::]:8443"
# Or
listen = ["0.0.0.0:8443"] # listen at 0.0.0.0:8443
# Or
listen = [
  "1.2.3.4:8443",
  "[10::]:8443",
] # listen at "1.2.3.4:8443" and "[10::]:8443"

[relay.advertise]
ipv4 = "1.2.3.4:443" # required
ipv6 = "[10::]:443" # optional

We have a ticket open at #2252 for deciding on what form these options should actually take, so they may change in the future.

Merge request reports

Loading