I recently tried to implement some proper firewall rules for IPv6 by copying my currently existing and working IPv4 firewall rules.
But somehow it's not working really working.
My network consists of several VLANs to separate traffic from management LAN, DMZ, IoT and so on and I do only want to allow specific traffic to get from e.g. DMZ to my regular LAN.
The idead for my IPv4 firewall was to add each VLAN at a specific interface list and allow (port specific) traffic
The current set up would be:
Code: Select all
add action=accept chain=input comment="default configuration" connection-state=established,related
add action=accept chain=forward connection-state=established,related disabled=yes
add action=accept chain=forward connection-state=established,related out-interface-list=LAN
add action=accept chain=forward connection-state=established,related out-interface-list=WLAN
add action=accept chain=forward connection-state=established,related out-interface-list=Maria
add action=drop chain=forward comment="Drop invalid" connection-state=invalid disabled=yes log=yes log-prefix=invalid
add action=accept chain=forward comment=Calibre dst-address-list=Winserver dst-port=7000 in-interface-list=WAN protocol=tcp
add action=accept chain=forward comment=Murmur dst-address-list=DB1 dst-port=64738 in-interface-list=WAN protocol=tcp
add action=accept chain=forward comment=Murmur dst-address-list=DB1 dst-port=64738 in-interface-list=WAN protocol=udp
add action=accept chain=forward comment=Matrix dst-address-list=wwwubuntu dst-port=8008,8448 in-interface-list=WAN protocol=tcp
add action=accept chain=forward comment=Matrix dst-address-list=wwwubuntu dst-port=80,443 in-interface-list=WAN protocol=tcp
add action=accept chain=forward comment="Manage Engine" dst-address-list=Winserver dst-port=8022,8027,8031,8047-8048,8383,8553 in-interface-list=WAN protocol=tcp
add action=accept chain=forward comment=Plex dst-address-list=Plex dst-port=32400 protocol=tcp
add action=accept chain=forward comment=Plex dst-address-list=Plex dst-port=32400 protocol=udp
add action=accept chain=forward comment="Mail HTTP" dst-address-list=Zimbra dst-port=80,443,587 in-interface-list=WAN protocol=tcp
add action=accept chain=forward comment="Mail IMAP" dst-address-list=Zimbra dst-port=143,993 in-interface-list=WAN protocol=tcp
add action=accept chain=forward comment="Mail SMTP" dst-address-list=Relay dst-port=25,465 in-interface-list=WAN protocol=tcp
add action=accept chain=forward comment=TURN dst-address-list=wwwubuntu_turn in-interface-list=WAN
add action=accept chain=forward dst-address-list=Gitlab dst-port=22,80,443 in-interface-list=WAN protocol=tcp
add action=accept chain=forward dst-address-list="Balancer 2" dst-port=3323 in-interface-list=WAN protocol=tcp
add action=accept chain=forward dst-address=2a0a:6040:4800:10::240/128 in-interface-list=WAN protocol=icmpv6
add action=accept chain=forward dst-address=2a0a:6040:4800:10::240/128 dst-port=8006 protocol=tcp
add action=accept chain=forward dst-address=2a0a:6040:4800:31::100/128
add action=accept chain=forward comment="Active Directory" dst-address-list="AD Server" dst-port=53,88,123,135,389,445,464,636,3268,3269 in-interface-list=DMZ protocol=tcp
add action=accept chain=forward comment="Active Directory" dst-address-list="AD Server" dst-port=53,88,123,135,389,445,464,636,3268,3269 in-interface-list=DMZ protocol=udp
add action=accept chain=forward dst-address-list=Winserver dst-port=139,445 in-interface-list=DMZ protocol=tcp
add action=accept chain=forward dst-address-list="AD Server" dst-port=53 in-interface-list=IoT protocol=udp
add action=accept chain=forward dst-address-list=Plex in-interface-list=IoT out-interface-list=DMZ
add action=drop chain=forward comment="Default deny" disabled=yes in-interface-list=!WAN out-interface-list=IoT
add action=drop chain=forward comment="Default deny" disabled=yes in-interface-list=!WAN out-interface-list=DMZ
add action=drop chain=forward comment="Default deny" disabled=yes in-interface-list=WAN
Anyone got an idead what I am doing wrong?