Obfs4 bridge (docker): IPv6 connectivity issues

Hello everyone,

I’ve set up an obfs4 bridge via docker-compose, following the guide on the official website.
Now, I’ve managed to get IPv4 connectivity. IPv6 does not seem to work, despite all my efforts - but one big goal of mine was to add an IPv6-capable obfs4 bridge to the network, as it is also in demand for censor-circumvention (if I am not mistaken).

My setup:

  • arm64 and ubuntu server based machine
  • working docker compose (not docker-compose) obfs4 bridge
  • local access to nyx
  • router-level port forwarding for both OR and PT ports on both IPv4 and IPv6
  • disabled ipconfig and ip6config firewall on the machine

What the issue is:

  • log entry of Unable to find IPv6 address for ORPort <XXX>. You might want to specify IPv4Only to it or set an explicit address or set Address

Now obviously, I could hard-code the IPv6 address. However, from time to time the IP changes (weeks, months, maybe close to a year). I don’t have a static IP, but my ISP switches IPs very rarely. I would like the bridge to figure out the address itself, like it does for IPv4.

What I’ve tried:

I would really like to get IPv6 working. I’m unsure how much IPv6 is used in countries with strict censoring, but I would like to allow IPv6 connections for those that are censored and have IPv6 access. Please help me out, I’m unsure how to resolve this issue, thank you!

Hi!

First check the output of

ifconfig

whether your machine gets an IPv6 address assigned…