Changes

Jump to: navigation, search

OPS705 Lab 5 (2207)

77 bytes removed, 23:51, 11 January 2021
m
Chris.johnson moved page OPS705 Lab 5 to OPS705 Lab 5 (2207) without leaving a redirect: Old version, archived.
= LAB PREPARATION =
=== Purpose / Objectives of Lab 6 5 ===
In this lab, you will set up an IIS web server on your Windows Server VM, and learn how to set up port forwarding through your Linux Server VM to allow access to the IIS web server on the Internet.
 
'''Remember:''' While you are working through this lab, it is highly recommended that you write notes down in your OPS705 Lab Logbook.
If you encounter technical issues, please contact your professor via e-mail or in your section's Microsoft Teams group.
=== Minimum Requirements ===
Before beginning, you must have:
# Successfully completed [[OPS705_Lab_5 OPS705_Lab_4 | Lab 54]]# Watched the Week 5 6 video lecture# Read through the Week 5 6 slides, and have them handy as a reference for concepts
# Your Azure-based Linux VM
# Your Azure-based Windows VM
# Your [[File:OPS705_Lab_Logbook | OPS705 Lab Logbook]]
= INVESTIGATION 1: Setting Up An IIS Web Server =
== Part 2: Editing Your IIS Website ==
# Connect to your VM remotely.
# In a new file explorer window, find the ''View'' menu item near the top, and click ''File name extensions''.
# Open '''Server Manager''' and click on the '''Local Server''' menu bar option.
# Towards the top of the window, click '''Tools > Internet Information Services (IIS) Manager'''
# In the new window, find in the ''ViewConnections'' menu item near column on the topleft, expand the '''Sites''' folder and click on ''File name extensions'Default Web Site'''.# In the ''Actions'' menu column on the right of the new window, click '''View Sites''', then click '''Explore'''. This will open a new folder where your IIS web pages are stored.
# Right-click anywhere in that window, click '''New > Text Document'''. Name it '''index.html'''.
# Open the text file, and write the same HTML code as Lab 5, changing the title tag to ''OPS705 IIS Web Server - Fall 2020''.
== Part 3: Adding Forwarding Firewall Rule Exceptions ==
# Create a firewall rule to allow forwarded traffic destined for TCP port 808080: <code>iptables -A FORWARD -p tcp --dport 80 -j ACCEPT</code># Create a firewall rule to allow forwarded traffic sent from TCP port 808080: <code>iptables -A FORWARD -p tcp --sport 80 -j ACCEPT</code>
# Watch your firewall rules and their packet counters with the following command: <code>watch iptables -L -vn --line-numbers</code>
# In a browser on your own computer, paste the URL for your Linux VM, adding ''':8080''' to the end of the address, then hit Enter.

Navigation menu