Changes between Version 4 and Version 5 of Csle2022/Agenda/FW


Ignore:
Timestamp:
Oct 20, 2022, 11:11:23 AM (2 years ago)
Author:
geethike
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Csle2022/Agenda/FW

    v4 v5  
    3131    3.REJECT[[BR]]
    3232
     33=== 1. ACCEPT ===
     34When traffic passes the rules in its specified chain, then the iptable accepts the traffic.
     35That means it opens up the gate and allows the person to go inside the kingdom of Thanos.
     36
     37=== 2. DROP ===
     38When the traffic is unable to pass the rules in its specified chain, the iptable blocks that traffic.
     39That means the firewall is closed.
     40
     41=== 3. REJECT ===
     42This type of action is similar to the drop action but it sends a message to the sender of the traffic stating that the data transfer has failed.
     43As a general rule, use REJECT when you want the other end to know the port is unreachable’ use DROP for connections to hosts you don’t want people to see.
     44
     45'''NOTE:-
     46You need to keep in mind a simple rule here:-
     47The 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.'''
     48
    3349== iptables Lab ==
    3450