OpenWrt Forum Archive

Topic: redirect ipv4 to iv6

The content of this topic has been archived on 22 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hello

i'm looking for redirecting traffic in firewall:

from all ipv4 requests from a specific hosts, i want to redirect them to a site with a unique ipv6 address (doesnt have an ipv4 add).. how could i do that?

thank you vm


ps :
neither openwrt.org , downloads.openwrt.org nor forum.openwrt.org have an ipv6 address.. is it possible to update this?

thankkies

I don't think you can. IPv4 and IPv6 are different protocols. The firewalls (iptables and ip6tables) are separate.

You could setup an IPv4 webserver page which would redirect the user to and IPv6 URL by putting something like this in the <HEAD>

<META HTTP-EQUIV="Refresh" CONTENT="1; URL=http://myv6site.com/">

The discussion might have continued from here.