572
edits
Changes
→Practice Setting Firewall Rules on Host Machine
Refer to the following [https://prezi.com/akyqt4h40oel/iptables-packet-filtering/ OPS335 NOTES] if you need to review how to use the iptables command. You can also perform a Netsearch for additional examples (such as deleting iptables rules for a chain).
Let's set a default '''default policy''' to '''disable all inbound traffic''':
# Issue an ''iptables command'' to set the default policy to disable all inbound traffic.# Issue an ''iptables command '' to list rules to verify you correctly disabled all inbound traffic.
The remaining iptables rules will relate to that same '''inbound''' traffic chain: