william
asked Feb 10 2017
Answer
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
karthikeyankarthi
asked Feb 12 2017
edited Oct 05 2018
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?