Changes between Version 28 and Version 29 of Csle2022/Agenda/FW


Ignore:
Timestamp:
Nov 29, 2022, 9:21:14 PM (2 years ago)
Author:
geethike
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Csle2022/Agenda/FW

    v28 v29  
    171171
    172172'''Example:-'''[[BR]]
    173 Let’s say we want to keep our SSH port open (we will assume in this guide that the default SSH port is 22) from the 192.168.1.3 network we blocked in the above case. That is we only want to allow those packets coming from 192.168.1.3 and which wants to go to the port 22.
    174 {{{
    175 sudo iptables -A INPUT -s 192.168.1.3 -p tcp --dport 22 -j ACCEPT
     173Let’s say we want to keep our SSH port open (we will assume in this guide that the default SSH port is 22) from the 192.168.1.4 network we blocked in the above case. That is we only want to allow those packets coming from 192.168.1.4 and which wants to go to the port 22.
     174{{{
     175sudo iptables -A INPUT -s 192.168.1.4 -p tcp --dport 22 -j ACCEPT
    176176}}}
    177177