Changes

Jump to: navigation, search

OPS335 Lab 1

9 bytes added, 19:22, 15 January 2012
Testing your Gateway
host cbc.ca
== Testing your Gateway Connectivity ==*Try Test connectivity by pinging each machine from the otherof your VM's.*Try pinging Matrix Ping matrix and google from each of your VM's to ensure you can reach the outside world. (you will need to be authenticated on your host machine).*Start the ssh server on both machines using 'systemctl' systemctl start sshd.service sshd start*Enable the ssh server at startup on both all machines chkconfig --levels 2345 systemctl enable sshd on*Start Firefox on your host machine and authenticate yourself on Senenet.service
*Try to ssh from the guest to the host machine. This should work.
*Try to ssh from the host to the guest machine. This should not work.
*Add one iptables rule to the guest firewall that will accept new ssh connections to the guest machine.
*Save your new firewall rules
service iptables -save> /etc/sysconfig/iptables*Reboot your guest machineRestart iptables using systemctl systemctl restart iptables.service*Ensure changes are still present iptables -L
*Try to ssh from the host to the guest machine. This should now work.
*Start Firefox on the guest machine and try surfing the web without authicating yourself on Senenet. i.e. only the host machine is authenticated.
== Completing the Lab ==
1
edit

Navigation menu