Skip to content

Instantly share code, notes, and snippets.

@ichikaway
Created November 10, 2011 06:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ichikaway/a92819ed32210c86fc3b to your computer and use it in GitHub Desktop.
Save ichikaway/a92819ed32210c86fc3b to your computer and use it in GitHub Desktop.
ipv6 setting
*filter
:INPUT DROP [0:0]
:FORWARD DROP [0:0]
#:OUTPUT DROP [0:0]
:OUTPUT ACCEPT [0:0]
:RH-Firewall-1-INPUT - [0:0]
-A INPUT -j RH-Firewall-1-INPUT
#-A RH-Firewall-1-INPUT -i lo -j ACCEPT
-A RH-Firewall-1-INPUT -p icmpv6 -j ACCEPT
#-A RH-Firewall-1-INPUT -m tcp -p tcp --dport 22 -j ACCEPT
-A RH-Firewall-1-INPUT -j REJECT --reject-with icmp6-adm-prohibited
COMMIT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment