Intercept IPV6 traffic and reroute it to local ports

I'm using latest snapshot version of openwrt and i use it as central internet gateway.
My clients use ipv4 and ipv6 with prefix delegation. I setup all things with luci web interface.

Adblock is using dnsmasq to forward dns traffic to the local port

But thats a lie :lying_face:

It only intercepts DNS traffic for ipv4...

Proof:

nslookup
Standardserver:  OpenWrt.lan
Address:  fdcd:e5b1:3550::1

> server 8.8.8.8
Standardserver:  dns.google
Address:  8.8.8.8

> ssl-google-analytics.l.google.com
Server:  dns.google
Address:  8.8.8.8

*** ssl-google-analytics.l.google.com wurde von dns.go
xistent domain.
> server 2001:4860:4860::8888
Standardserver:  dns.google
Address:  2001:4860:4860::8888

> ssl-google-analytics.l.google.com
Server:  dns.google
Address:  2001:4860:4860::8888

Nicht autorisierende Antwort:
Name:    ssl-google-analytics.l.google.com
Addresses:  2a00:1450:4001:810::2008
          142.250.185.168

Even the firewall rule dialog says "any", but means "hey, only ipv4" :roll_eyes:

Now my question, how do i reroute ipv6 traffic to local ports on my router?

1 Like

https://openwrt.org/docs/guide-user/firewall/fw3_configurations/intercept_dns#nat6

2 Likes

Wow, that was fast. Thank you. Works perfectly.

Why doesn't luci frontend support viewing, adding and editing it?

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.