1
20.1 Legacy Series / Re: Firewall Rules Not Executing In Order
« on: July 23, 2020, 07:39:10 pm »
As a test a created a new firewall group called "Internet_Access" and added only my internal interfaces to it "LAN, VLAN1, VLAN2, VLAN3, VLAN4, VLAN5"
I created the following 2 rules in "Internet_Access" as a test
The results are very strange to me it allowed very few to "PASS" but "BLOCKED" more
PASS:
BLOCK:
I created the following 2 rules in "Internet_Access" as a test
Code: [Select]
Rule #: 1
Description: FG_Internet_Access - Allow My Laptop
Action: Pass
Protocol: IPv4 TCP/UDP
Source: H_MyLaptop
Port: *
Destination: ! N_Internal_Networks
Port: *
Rule #: 2
Description: FG_Internet_Access - Block Internet Access
Action: Block
Protocol: IPv4 *
Source: *
Port: *
Destination: ! N_Internal_Networks
Port: *
The results are very strange to me it allowed very few to "PASS" but "BLOCKED" more
PASS:
Code: [Select]
__timestamp__ Jul 23 13:08:52
ack
action [pass]
anchorname
datalen 0
dir [in]
dst 23.41.185.132
dstport 443
ecn
id 41110
interface em0
interface_name lan
ipflags DF
label FG_Internet_Access - Allow My Laptop
length 48
offset 0
proto 6
protoname tcp
reason match
rid 396c2761adcb1337d5dc65ff744048a7
ridentifier 0
rulenr 103
seq 1760592743
src 192.168.10.10
srcport 1951
subrulenr
tcpflags S
tcpopts
tos 0x0
ttl 128
urp 65535
version 4
BLOCK:
Code: [Select]
mp__ Jul 23 13:08:28
ack 693860067
action [block]
anchorname
datalen 0
dir [in]
dst 31.216.147.136
dstport 443
ecn
id 49096
interface em0
interface_name lan
ipflags DF
label FG_Internet_Access - Block Internet Access
length 52
offset 0
proto 6
protoname tcp
reason match
rid 7b03c448b9cc820f0876734f8f45ba38
ridentifier 0
rulenr 105
seq
src 192.168.10.10
srcport 29367
subrulenr
tcpflags A
tcpopts
tos 0x0
ttl 127
urp 65330
version 4