Bitbucket SSH and iptables
- by Astaz3l
I'm a newbie in iptables to be honest. I have some basic rules. Everything is blocked by default.
iptables -t filter -F
iptables -t filter -X
iptables -t filter -P INPUT DROP
iptables -t filter -P FORWARD DROP
iptables -t filter -P OUTPUT DROP
iptables -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
iptables -A OUTPUT -m state --state…