IP Tables- how to drop a port?

For discussions about security.
Post Reply
Message
Author
User avatar
Smithy
Posts: 1151
Joined: Mon 12 Dec 2011, 11:17

IP Tables- how to drop a port?

#1 Post by Smithy »

Can Anyone chip in with the correct line for dropping a port? It 'aint dropping 22.

Edit, going to have to look into the glorious ip tables....what fun..

Found a simple (ish) tutotrial here that might be useful for some.
https://www.digitalocean.com/community/ ... n-centos-6

s243a
Posts: 2580
Joined: Tue 02 Sep 2014, 04:48
Contact:

#2 Post by s243a »

Can you give us your script to configure your IPTABLES?

User avatar
Smithy
Posts: 1151
Joined: Mon 12 Dec 2011, 11:17

#3 Post by Smithy »

I can't see where the new firewall creates the script anymore (except for a firewall in root/.config). I presume it does the job, even if you do need a firewall on.

Post Reply