0

How to deny request from 443 port using IPtables

I need to deny the requests which i get especially from 443 ports... Is it possible through iptables?

william
asked Feb 10, 2017
1 Answer
0

The command used for blocking outgoing of port number 443

/sbin/iptables -A OUTPUT -p tcp --dport 443 -j DROP

The command used for blocking incoming of port number 443

/sbin/iptables -A INPUT -p tcp --dport 443 -j DROP

after adding the rule save the iptables by using the following command

/sbin/service iptables save

View More
karthikeyankarthi
answered Feb 12, 2017
Your Answer
||||
 
100:0