Changes

Jump to: navigation, search

OPS335 Lab 2 draft

15 bytes added, 15:39, 22 January 2016
no edit summary
'''To Assist with iptables, try the following:'''
*#Always start with the default iptables settings:
:*When you install Iptables in CentOS it already has some rules predefined.
:*You will always get the default rules if you restart the iptables service.<br><br>  * #Save your rule in a bash script (.sh file) so you don't lose it and can rerun it easily.
{{Admon/important |Disconnected from VMs|Some of the traffic between your host and VirtManager goes through IPtables. When you mess with IPtables rules on the host - you may end up losing the console connection to the virtual machines. Don't worry, they're still running and you can still use them.}}
<ul0l><livalue="3">If your command didn't work - the easiest thing to do is:<ul><li>Reload the default rules. You can do that by restarting the iptables service (you can also do that at the beginning of your shell script).</li><li>Then run your script with all the working iptables commands that you already finished.</li><li>Go back to writing the rule that didn't work.</li></ul></li></ulol>
===Creating Customized Chains===
13,420
edits

Navigation menu