Open main menu

CDOT Wiki β

Changes

OPS335 Firewall Lab

39 bytes removed, 09:25, 23 January 2016
no edit summary
<table border="1" cellspacing="0" cellpadding="5" >
<tr><td>'''Tip'''</td><td>'''Explanation'''<br>''(command)''</td></tr>
<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>Obtain Default Gateway'''Place your iptables commands (i.e. Rules) within a bash script'''</td><td>route -n</td></tr>
<tr> <td>Obtain DNS Server</td><td>nslookup</td></tr>
<ol><li value="2">'''Place your iptables commands (i.e. Rules) within a bash script''' (.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>
13,420
edits