13,420
edits
Changes
no edit summary
<tr> <td>'''Always start with the default iptables settings'''</td><td>When you install Iptables in CentOS it already has some rules predefined.<br>You will always get the default rules if you restart the iptables service.</td></tr>
<tr> <td>'''Place your iptables commands (i.e. Rules) within a bash script'''</td><td>route -nIf you need to reset iptables, then you can run a shell script to quickly apply rules to save time.</td></tr>
<tr> <td>Obtain DNS Server'''Don't Panic if disconnected from a VM'''</td><td>nslookupSome of the traffic between your host and VirtManager goes through IPtables.<br> 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'''.</td></tr>
<tr> <td>Obtain Hostname</td><td>uname -n</td></tr>
<ol><li value="2"> (.bash) so you don't lose it and can rerun it easily.<br><br></li><li>'''If you are disconnected from a VM:''' Some of the traffic between your host and VirtManager goes through IPtables.<br> 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'''.</li></ol>