Open main menu

CDOT Wiki β

Changes

OPS335 Lab 2

3 bytes added, 08:33, 24 January 2016
no edit summary
We will run some iptables commands to practice and get a basic understanding of how to set rules.
# First, issue an iptables command to set the policy to disable all '''inbound''' traffic. Issue the iptables command to list rules for verification. <br>The remaining tasks will relate to that same '''inbound''' traffic chain.
# Issue an iptables command to delete the default ssh rule, and issue another iptables command to verify.
# Issue an iptables command to insert the SSH rule in the beginning of the chain. Verify that did what you thought it did, then delete that rule (by number), and verify that it was deleted.
13,420
edits