Hi!
My situation:
Firewall:
/ip firewall address-list
add address=172.20.24.0/22 list="ESB LAN"
add address=10.32.0.0/20 list=OSG
add address=10.101.0.0/20 list=OSG-SAP-NET
add address=192.9.0.0/16 list="OSG 192.9.0.0"
add address=172.20.16.0/24 list="ADM LAN"
/ip firewall filter
add action=accept chain=input comment="defconf: accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=input comment="defconf: drop invalid" connection-state=invalid
add action=accept chain=input comment="defconf: accept ICMP" disabled=yes protocol=icmp
add action=drop chain=input comment="Drop WAN input" in-interface-list=WAN
add action=accept chain=forward comment="defconf: accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" connection-state=established,related
add action=accept chain=forward comment="defconf: accept established,related, untracked" connection-state=established,related,untracked
add action=accept chain=forward comment="ADM LAN -> ESB LAN Allow" connection-state="" dst-address-list="ESB LAN" src-address-list="ADM LAN"
add action=accept chain=forward comment="ADM LAN -> OSG Allow" dst-address-list=OSG src-address-list="ADM LAN"
add action=accept chain=forward comment="ADM LAN -> OSG-SAP-NET Allow" dst-address-list=OSG-SAP-NET src-address-list="ADM LAN"
add action=accept chain=forward comment="ADM LAN -> OSG 192 Allow" dst-address-list="OSG 192.9.0.0" src-address-list="ADM LAN"
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
add action=drop chain=forward comment="defconf: drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
add action=drop chain=forward comment=VOICE in-interface=VLAN-Voice
add action=drop chain=input in-interface=VLAN-Voice
/ip firewall nat
add action=masquerade chain=srcnat comment="defconf: masquerade" ipsec-policy=out,none out-interface-list=WAN
Static Routes:
/ip route
add comment=OSG distance=1 dst-address=10.32.0.0/20 gateway=172.20.16.1
add comment=OSG-SAP-NET distance=1 dst-address=10.101.0.0/20 gateway=172.20.16.1
add comment="ESB LAN" distance=1 dst-address=172.20.24.0/22 gateway=172.20.16.10
add comment="OSG 192.9.0.0" distance=1 dst-address=192.9.0.0/16 gateway=172.20.16.1
IP Addresses:
/ip address
add address=192.168.88.1/24 comment=defconf interface=bridge network=192.168.88.0
add address=172.20.16.254/24 interface=Etherchannel network=172.20.16.0
add address=192.168.10.254/24 interface=VLAN-Voice network=192.168.10.0
I want to understand why without adding these firewall rules:
add action=accept chain=forward comment="ADM LAN -> ESB LAN Allow" connection-state="" dst-address-list="ESB LAN" src-address-list="ADM LAN"
add action=accept chain=forward comment="ADM LAN -> OSG Allow" dst-address-list=OSG src-address-list="ADM LAN"
add action=accept chain=forward comment="ADM LAN -> OSG-SAP-NET Allow" dst-address-list=OSG-SAP-NET src-address-list="ADM LAN"
add action=accept chain=forward comment="ADM LAN -> OSG 192 Allow" dst-address-list="OSG 192.9.0.0" src-address-list="ADM LAN"
traffic to these subnets coming from the “ADM LAN” subnet are marked as invalid and discarded by the rule
add action=drop chain=forward comment="defconf: drop invalid" connection-state=invalid
?
So just to be clear; by adding those allow rules everything works, but I just want to understand why I need to add these ![]()