please write the 9 linux commands to complete the task. please do 1-9. don't answer if not answered completely.
iptables .....
YOU ARE ALSO REQUIRED TO CREATE A NEW CHAIN FOR THIS ASSIGNMENT Assume initially the default policy of each of the three built-in chains is ACCEPT, and that each chain is empty. Remember: all conditions must be satisfied simultaneously 1. Your router is only allowed to route packets into 10.5.2.0/24 (which includes both /25 subnets) That is if a packet comes into eth2 but is not destined for 10.5.2.0/24, you shouldn't route it Do not use a rule that's more restrictive than it needs to be Packets from inside 10.5. 2.0/24 still needs to get out, because they're using you as their default gateway! 2. Do not route any gre tunnel packets (ip protocol number 47) because we can't look at the packet underneath. 3. no icmp responses are allowed from 10.5. 128/25 4. No machine can use a DNS server that's not one of the official ones. Furthermore, if a DNS response is found to come from an unofficial server, you should LOG the packet 5. connection to any imap or pop3 server other than the official one should be blocked (look in /etc/services for port numbers). These protocols use tcp. 6. You want to run a local web server on 10 2.130 but you fe the wrath of the higher-up admins if they found out This server should only be allowed to serve other hosts on your two subnets (10.5.2.0/24) on top of tcp 7. You are responsible for limiting the rate of connections to the official web server (10 from your two subnets to 1 every second with a limit-burst of 3 If there are too many connections, they should be dropped If you don't do this right and the web server crashes you'll be reassigned to answering phones at the help desk from clueless end users Your router is also running a DHCP server (uses udp, port 67) that assigns IP addresses to hosts However, you should only service requests from the two subnets of 10. 5. 2.0/24. Finally don't let anyone ssh into your router, except 147.4.150.54 Be careful. Read the numbers There are a couple of subtle things to watchout for ch as which chain you put the rules in