Just Fire the command below from Ssh.
iptables -A FORWARD -p tcp –dport 25 -j DROP
Just Change the value of 25 in order to block another port, for example if you want to block port 456 then just fire
iptables -A FORWARD -p tcp –dport 456 -j DROP
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment