Results 1 to 2 of 2
Thread: Allow certain ip for a port
-
05-10-2008, 01:38 AM #1Aspiring Evangelist
- Join Date
- Jun 2001
- Posts
- 431
Allow certain ip for a port
Hello,
I am using csf to secure my server. I want to open the ssh port for certain ip only. So I edit csf.allow and add the following line:
tcp:in:d=22=192.168.0.100
Then restarted.
But I can still access the server from IP addresses other than 192.168.0.100. Anyone know how can I restruct certain IP address to access certain port? Thanks.http://www.ebookeasy.com Free ebook for webhosting and dedicated server review
-
05-10-2008, 05:19 AM #2Web Hosting Master
- Join Date
- Oct 2004
- Location
- Kerala, India
- Posts
- 4,771
You need to remove the port 22 from the csf.conf file under TCP_IN section and allow in the manner you have done in csf.allow file.
David | www.cliffsupport.com
Affordable Server Management Solutions sales AT cliffsupport DOT com
CliffWebManager | Access WHM from iPhone and Android