IP6tables blocks INPUT? can't connect with youtube API
Posted
by
klaas
on Server Fault
See other posts from Server Fault
or by klaas
Published on 2012-08-31T08:09:35Z
Indexed on
2012/08/31
9:40 UTC
Read the original article
Hit count: 577
I thought to have a simple ipv6 firewall, but it turned out to be hell. Somehow I really can't connect with any ipv6 from my machine unless I set INPUT Policy to ACCEPT. Below my current ip6tables
ip6tables -L
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all anywhere anywhere state RELATED,ESTABLISHED
ACCEPT ipv6-icmp anywhere anywhere
ACCEPT tcp anywhere anywhere tcp dpt:http
ACCEPT tcp anywhere anywhere tcp dpt:https
Chain FORWARD (policy ACCEPT)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
If I try to connect with any ipv6 adres it doesn't work?
telnet gdata.youtube.com 80
Trying 2a00:1450:4013:c00::76...
OR
telnet gdata.youtube.com 443
Trying 2a00:1450:4013:c00::76...
When I set:
ip6tables -P INPUT ACCEPT
It works.. but then.. well then everything is open? what is going on? Help?
© Server Fault or respective owner