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:
- https://www.reddit.com/r/TOR/comments/t77kt0/how_to_enable_ipv6_inside_an_obfs4_bridge/
- above not working because:
network_mode: host
causes both IPv4 and IPv6 to be inaccessible
- above not working because:
- changing the docker-compose.yaml network configuration:
networks: obfs4_bridge_external_network: enable_ipv6: true driver: host
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!