Changes between Version 35 and Version 36 of Csle2022/Agenda/FW


Ignore:
Timestamp:
Nov 29, 2022, 10:41:11 PM (2 years ago)
Author:
geethike
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Csle2022/Agenda/FW

    v35 v36  
    224224}}}
    225225
    226 
    227 '''6. Saving your configuration : Optional (Don't DO for this Lab)'''
     226'''6. Add a rule for specific position (Rule number):'''
     227
     228Following command will add the rule to number 2 position.
     229{{{
     230sudo iptables -I INPUT 2 -s 192.168.1.0/24 -j DROP
     231}}}
     232
     233'''7. Saving your configuration : Optional (Don't DO for this Lab)'''
    228234
    229235This part is unnecessary if you are implementing it on a personal computer which is not a server, but if
     
    240246sudo invoke-rc.d iptables-persistent save
    241247}}}
     248
     249==Exercise==
     2501. Add a rule to access the web server of Ubuntu VM.(port 80)
     2512. Add a rule to access the VNC server of Ubuntu VM.(port 5900)
     2523. Drop all traffic form 192.168.1.0/24 (your local Network) and allow only SSH from your Host PC.
     253
    242254
    243255== UFW Lab ==