< Data Networking < Spring 2015 < GROUP4

Data Networking/Spring 2015/GROUP4/FIREWALL

1.Install IP tables by giving command

 sudo apt-get install IP tables

2. To block ICMP request on webserver use this command

  sudo iptables -A INPUT -p icmp -j REJECT

3.To reject telnet request at port 23 use this command

 sudo iptables -A INPUT -p tcp -d port 23  -j REJECT

4. To allow access to particular IP's

  sudo ufw allow from (IP)

This article is issued from Wikiversity. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.