Assume the server’s IP address is 125.121.156.156. Now we can block all ftp connections to the server withe the following ip tables rule
iptables -I INPUT -s 0.0.0.0 -d125.121.156.156 -p tcp -m tcp –dport 21 -j DROP
Now we can allow only authorised ip by the folloing rule. Assume the IP to be allowed is [...]
Archive for November, 2009
restrict ftp access using iptables
November 25th, 2009
Aneesh Install SVN server , create respository and users
November 13th, 2009
Aneesh Easiest way to install SVN Server
Install Apache and IIS on Windws server
November 13th, 2009
Aneesh You can install both apache and IIS on same port if the system has two IP address. You may install IIS and apache server in normal way. IF IIS is started prior to Apache, IIS will take all the IP address and apache cannot start on the same port. Do fix this, we need to [...]
Install Apache, Mysql, PHP in Linux Server
November 9th, 2009
Aneesh Installing Apache
[root@server ~]# wget http://opensource.become.com/apache/httpd/apache_1.3.41.tar.gz



Posted in

