Difference between revisions of "FW Monitor examples"

From Tech-Wiki
Jump to: navigation, search
(Created page with "Filtering based on a single Host: (no matter if it is the source or destination) fw monitor -e "host(10.1.1.10) ,accept;" Filtering based on a Host pair" fw monitor -e "...")
 
Line 1: Line 1:
 
Filtering based on a single Host: (no matter if it is the source or destination)
 
Filtering based on a single Host: (no matter if it is the source or destination)
  
  fw monitor -e "host(10.1.1.10) ,accept;"  
+
  fw monitor -e "accept host(10.1.1.10);"  
  
 
Filtering based on a Host pair"
 
Filtering based on a Host pair"
  
  fw monitor -e "host(10.1.1.10) or host(200.0.0.2) ,accept;"  
+
  fw monitor -e "accept host(10.1.1.10) or host(200.0.0.2);"  
  
 
Filtering based on application:
 
Filtering based on application:
  
  fw monitor -e 'accept port(25) ;'
+
  fw monitor -e 'accept port(25);'
 +
 
 +
Strictly filter:
 +
 
 +
fw monitor -e "src=10.1.1.10 and dst=200.1.1.11 and dport=80,accept;"

Revision as of 23:37, 10 July 2016

Filtering based on a single Host: (no matter if it is the source or destination)

fw monitor -e "accept host(10.1.1.10);" 

Filtering based on a Host pair"

fw monitor -e "accept host(10.1.1.10) or host(200.0.0.2);" 

Filtering based on application:

fw monitor -e 'accept port(25);'

Strictly filter:

fw monitor -e "src=10.1.1.10 and dst=200.1.1.11 and dport=80,accept;"