1,234
edits
Changes
→Adding a rule
* If you check your iptables rules you should be able to figure out why you can't connect.
* Add a rule on lin1 to allow inbound traffic to Apache (TCP port 80).
If you make such a mess that you don't know what you did any longer, there are a couple of things that can help you get back to normal:
* iptables --flush will erase all the rules
* Restarting the iptables service will revert all the rules to the defaults.
= PART 3: YOUR TASKS =
Use what you learned so far and what you can learn online in order to set up the following:
# lin1 will allow access to Apache from any source.
# c7host will allow access to SSH from hosts on the 192.168.210.* subnet and deny it from why other source.
= Lab completion =
* Make sure you understand what you've done in this lab, so that you're ready to answer questions about it.
* Have notes in your labbook from this lab.
* Show your work to the professor and have them sign your labbook.