Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ip6tables -F
- ip6tables -t mangle -F
- ip6tables -X
- ip6tables -P INPUT DROP
- ip6tables -P OUTPUT ACCEPT
- ip6tables -P FORWARD DROP
- ip6tables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
- ip6tables -I INPUT -p tcp --dport 22 -j ACCEPT
- #ssh (vlozi na !zacatek! retezu INPUT)
- ip6tables -A INPUT -p icmp -j ACCEPT
- ip6tables -A OUTPUT -p icmp -j ACCEPT
- #icmp
- ip6tables -A INPUT -i lo -j ACCEPT
- ip6tables -A OUTPUT -o lo -j ACCEPT
- #loopback
- ip6tables -A INPUT -m state --state INVALID -j DROP
- #neplatne pakety zahodit
- ip6tables -A INPUT -j REJECT
Advertisement
Add Comment
Please, Sign In to add comment