Portal Home > Knowledgebase > Articles Database > csf cant block port
csf cant block port
Posted by mixmox, 12-09-2010, 06:18 PM |
hello
i want to block port 2222 on my server so i have delete port 2222 from
TCP_IN
and
TCP_OUT
ans restart csf
but when i try :
http://mainip:2222 it show directadmin login page :|
|
Posted by RoseHosting, 12-09-2010, 09:30 PM |
The following rule will block port 2222 for connections coming in.
iptables -A INPUT -s 0.0.0.0 --dport 2222 -j DROP
You can stop DirectAdmin with:
/etc/init.d/directadmin stop
|
Posted by nithicm, 02-10-2011, 04:15 PM |
Check whether csf is running on TEST mode or configured properly.
|
Add to Favourites Print this Article
Also Read