932
edits
Changes
m
*Backup your new firewall rules
iptables-save > /etc/sysconfig/iptables.backup
Modified method for adding ssh to firewall.
*Try to ssh to your Matrix account from both the host and guest machines.
*Try to ssh from your Matrix account back to your host and guest machines.
**This should also fail with the error message 'No route to host'. *Use system-configFirst, backup your existing firewall rules iptables-save > /etc/sysconfig/iptables.backup*As root, run the following command (which will modify the firewall on your VM, so it accepts incoming ssh connections): iptables -I INPUT -p tcp --dport 22 -j ACCEPT*Try to ssh from the host to the guest machine again. It should work now. *Now save your new firewall rules iptables-save > /etc/sysconfig/iptables
*Restart iptables using systemctl
systemctl restart iptables.service
*Ensure changes are still present
iptables -L
*Try to ssh from the host to the guest machineagain, to make certain it still works.*Perform these steps on each of your machines so you can ssh between each VM and the host (and between the VMs)
== Completing the Lab ==