Changes

Jump to: navigation, search

OPS235 Lab 7 - CentOS7

231 bytes added, 08:34, 5 April 2016
INVESTIGATION 3: SECURING THE SSH CONNECTION
# On your '''centos1''' VM (i.e. the http server), confirm everything is working locally by using a browser to connect to '''http://localhost'''
# Set the default firewall configuration on centos1 to '''REJECT''' incoming requests to http (TCP/80)
# NOTE: '''centos1''': if '''http://localhost''' stops working locally, add the following iptables rule to centos1, as root <b><code><span style="color:#3366CC;font-size:1.2em;">iptables -I INPUT -i lo -j ACCEPT</span></code></b>
# Confirm that you can't connect by using firefox on centos to connect to centos1 '''http://centos1/'''
# On '''centos2''' confirm that the httpd service is stopped so it cannot interfere with your observations.
198
edits

Navigation menu