Open main menu

CDOT Wiki β

Changes

OPS235 Lab 6 - Fedora17

252 bytes added, 11:04, 5 March 2010
Investigation 8: How do I view and configure the IPTABLES firewall? -- Basic Function/Configuration
* Using the information you have learned, try on your own to achieve the same goal as above (block www access to your computer) by using the INPUT chain instead of the OUTPUT chain.
* After you have completed this task, flush the iptables again.
* Make sure that your ssh server is running on the host machine and try to access it from a virtual machine of your choice. * Once you have confirmed that ssh is running on the host machine, modify the append an iptables setup rule on the host machine to prevent access to the ssh server from all VM's on the virtual network.* Confirm that your rule works by testing from your VM's* Does iptables close the port? Check using <code>netstat</code>* Now append a rule on the fedora host that would ACCEPT connections from the fedora2 VM only.* Fully test your configuration. 
Open a text editor and write a script that will accomplish the above task for you when you run it. Show the script to your professor and execute it.
9
edits