Set the rules for ports 80 and 443 in the iptables configuration file to off.
This commit is contained in:
parent
341bbadcd4
commit
875fe3b897
|
@ -66,8 +66,8 @@ do
|
|||
|
||||
# allow ssh/http only
|
||||
$IPT -A INPUT -p tcp --dport 22 -j ACCEPT
|
||||
$IPT -A INPUT -p tcp --dport 80 -j ACCEPT
|
||||
$IPT -A INPUT -p tcp --dport 443 -j ACCEPT
|
||||
# $IPT -A INPUT -p tcp --dport 80 -j ACCEPT
|
||||
# $IPT -A INPUT -p tcp --dport 443 -j ACCEPT
|
||||
|
||||
# allow incoming ICMP ping pong stuff
|
||||
$IPT -A INPUT -p icmp --icmp-type 8 -m state --state NEW,ESTABLISHED,RELATED -j ACCEPT
|
||||
|
|
Loading…
Reference in New Issue