I run a Xen Dom0 with 2 VMs NATted (other VMs are bridged, and are ok).
This Dom0 has an IPv6 and IPv4 address. Requests to, for example port 25 are forwarded to a LAN address that one of the VMs handle.
For example:
VM_DNS_MAIL=172.16.1.1
iptables -t nat -A PREROUTING -d 1.2.3.4/26 -p tcp --dport 25 -j DNAT --to $VM_DNS_MAIL
iptables -t nat -A PREROUTING -d 1.2.3.4/26 -p tcp --dport 53 -j DNAT --to $VM_DNS_MAIL
1.2.3.4 being my public IP of the Dom0.
This works perfectly with IPv4. How can I achieve the same with IPv6?