forked from cohabit/server_config
fix: accept output connections in iptables
This commit is contained in:
parent
c62964b0ea
commit
8d81552c16
|
@ -1,7 +1,7 @@
|
||||||
# General rules
|
# General rules
|
||||||
iptables -P INPUT DROP
|
iptables -P INPUT DROP
|
||||||
iptables -P FORWARD DROP
|
iptables -P FORWARD DROP
|
||||||
iptables -P OUTPUT DROP
|
iptables -P OUTPUT ACCEPT
|
||||||
|
|
||||||
# Fail2Ban
|
# Fail2Ban
|
||||||
iptables -N f2b-sshd
|
iptables -N f2b-sshd
|
||||||
|
|
Loading…
Reference in a new issue