iptables rules fix
This commit is contained in:
parent
88f2a9eb8a
commit
fe52c6b8a5
@ -24,8 +24,8 @@
|
||||
1. `iptables -A INPUT -i lo -j ACCEPT`
|
||||
2. `iptables -A INPUT -n conntrack -ctstate ESTABLISHED,RELATED -j ACCEPT`
|
||||
3. `iptables -A INPUT -n conntrack -ctstate INVALID -j DROP`
|
||||
4. `iptables -A INPUT -j DROP`
|
||||
5. `iptables -A INPUT -p tcp --dport ssh -j ACCEPT`
|
||||
4. `iptables -A INPUT -p tcp --sport 22 -j ACCEPT`
|
||||
5. `iptables -A INPUT -j DROP`
|
||||
|
||||
## OUTPUT
|
||||
|
||||
|
Reference in New Issue
Block a user