Configure IPv4 and IPv6

Understanding IPv4 and IPv6

IPv4 is the traditional Internet Protocol version characterized by a limited address space. Many networks still heavily rely on IPv4.

IPv6 presents a significantly expanded address space, designed to accommodate the ever-growing number of devices connected to the internet.

By default, IPv6 is enabled for the relay service and can be disabled if necessary. Some ISPs do not provide IPv6 for their internet services, and in such cases, disabling IPv6 is not mandatory as it does not cause any issues. Disabling IPv6 suppresses log messages like:

[notice] Unable to find IPv6 address for ORPort 9001. You might want to specify IPv4Only to it or set an explicit address or set Address.

Configuring IPv4 & IPv6 for Your Relay

IPv4 Configuration with IPv6 Enabled: Edit the anonrc file and specify the IPv4 address for the ORPort.

ORPort <YourChosenPort>

IPv4 Configuration with IPv6 Disabled (Optional): Disable IPv6 on your network and update the anonrc file accordingly.

ORPort <YourChosenPort> IPv4Only
AddressDisableIPv6

Save the changes and restart the service.

Last updated