Changes

Jump to: navigation, search

OPS235 Lab 7

144 bytes added, 09:31, 28 June 2016
no edit summary
# Create a small html document called '''/var/www/html/index.html''' that displays a short message. If you do not know how to use HTML markup language, just type a simple <u>text</u> message...
# <u>Restart</u> your '''c7host''' VM.
# On your '''c7host''' VM (i.e. click on the http server), confirm everything is working locally by using following link to open a web-browser to connect to view your html or text message: '''http://localhost'''<br><br># '''IMPORTANT:''' Before proceeding, flush the iptables rules for INPUT, OUTPUT, and FORWARD chains for both your c7host and centos1 VMs.<br><br>
# Set the default firewall configuration on centos1 to '''REJECT''' incoming requests to http (TCP/80)
# NOTE: '''c7host''': if '''http://localhost''' stops working locally, add the following iptables rule to centos1, as root <br /><b><code><span style="color:#3366CC;font-size:1.2em;">iptables -I INPUT -i lo -j ACCEPT</span></code></b>
13,420
edits

Navigation menu