Changes between Version 7 and Version 8 of Csle2022/Agenda/FW
- Timestamp:
- Oct 20, 2022, 11:18:40 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Csle2022/Agenda/FW
v7 v8 52 52 The Rules you set in the iptables are checked from the topmost rules to the bottom. Whenever a packet passes any of the top rules, it is allowed to pass the firewall. The lower rules are not checked. So be careful while setting up rules.''' 53 53 54 = Basic iptables commands : = 55 To list the rules of the current iptables:-[[BR]] 56 {{{ 57 sudo iptables -L 58 }}} 59 The Output would be:- 60 image 61 62 As you can see, we have three chains (INPUT, FORWARD, OUTPUT). We can also see column headers, but they are no actual rules. This is because most of the Linux come with no predefined rules. 63 64 Let see what each column mean.