I want to forward :80 connections to one of my lxc containers. I've used iptables for ipv4, and when I try to do it with ip6tables it fail because it understand :80 as part of the IP.
I've tried :
# ip6tables -t nat -I PREROUTING -i eth0 -p TCP -d <my_server_ipv6> --dport 80 -j DNAT --to-destination <my_container_ipv6>:80 Bad IP address "<my_container_ipv6>:80"
(and I can't use my container's IPv4 because ip6tables want only IPv6).
How can I differentiate the IP from the port ?