ip6tables problem

mafcin

Verified User
Joined
Aug 1, 2010
Messages
5
Hello,
I have a VPS server in OVH with DirectAdmin installed on CentOS 6.4.
I have problem with IPv6... it seems that ip6tables blocks input traffic. when I turned it off, there was everything OK. the result was the same when I commented that line: "-A INPUT -j REJECT --reject-with icmp6-adm-prohibited"

I tried to do everything I know, but with no success... and don't know what should I do to fix it, so please help me resolve that issue.

that's is my ip6tables config file:
Code:
# Firewall configuration written by system-config-firewall
# Manual customization of this file is not recommended.
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
-A INPUT -p ipv6-icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT
-A INPUT -j REJECT --reject-with icmp6-adm-prohibited
-A FORWARD -j REJECT --reject-with icmp6-adm-prohibited
COMMIT

thanks for any help!
 
Hi,

In your current config you only are allowing the ssh port.
Maybe you can use ConfigServer Firewall to configurate your firewall.

See the following url for more information:
http://configserver.com/cp/csf.html

With kind regards,

Robin
 
Back
Top