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)