Question: You have a Linux server, but without any firewall rules in place for protection. You want to use iptables to protect the web server so

You have a Linux server, but without any firewall rules in place for protection. You want to use iptables to protect the web server so that:

Only computers from address 172.90.0.0/16 but excluding 172.90.255.0/24 can browse the web site that is running on port 8888 in the server.

Only you can ssh and ping to the server from your IP 172.90.10.20

. The server cannot initiate anything to send out.

The default policy for all chains is ACCEPT.

Show the commands of iptables that add the Linux firewall rules to enforce the protection:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!