How can I write iptables/ip6tables rule to accept traffic from source IPV6 and destination IPV4 or vice versa.
I want something like this, but it is getting failed:
ip6tables -A INPUT -s 10.0.2.82 -d 2001:0db8:85a3:0000:0000:8a2e:0370:7332 -p tcp --dport 2000 -j ACCEPT
iptables -A INPUT -s 2001:0db8:85a3:0000:0000:8a2e:0370:7332 -d 10.0.2.82 -p tcp --dport 2000 -j ACCEPT
How can I achieve this ???
FYI, using RHEL 6.7
iptables - mixing ipv4 and ipv6 addresses
Re: iptables - mixing ipv4 and ipv6 addresses
On IPv4 both the source and the destination addresses are IPv4 addresses. Exactly the same with IPv6, both the source and the destination IP addresses are IPv6.
Re: iptables - mixing ipv4 and ipv6 addresses
Eh? Change protocols half way through a transmission?