Changes between Version 35 and Version 36 of Csle2022/Agenda/FW
- Timestamp:
- Nov 29, 2022, 10:41:11 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Csle2022/Agenda/FW
v35 v36 224 224 }}} 225 225 226 227 '''6. Saving your configuration : Optional (Don't DO for this Lab)''' 226 '''6. Add a rule for specific position (Rule number):''' 227 228 Following command will add the rule to number 2 position. 229 {{{ 230 sudo 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)''' 228 234 229 235 This part is unnecessary if you are implementing it on a personal computer which is not a server, but if … … 240 246 sudo invoke-rc.d iptables-persistent save 241 247 }}} 248 249 ==Exercise== 250 1. Add a rule to access the web server of Ubuntu VM.(port 80) 251 2. Add a rule to access the VNC server of Ubuntu VM.(port 5900) 252 3. Drop all traffic form 192.168.1.0/24 (your local Network) and allow only SSH from your Host PC. 253 242 254 243 255 == UFW Lab ==