Hey Guys, my son is hosting a minecraft server and I set up all the port forwarding but it didn’t work. I did some testing and figured out that the following Filter Rule (that I was advised to have in place) was blocking the traffic:
Running 6.18 currently
add action=drop chain=forward comment=“Drop everything else”
I disabled this and it seems to be working now. Do I need this rule?
/ip firewall address-list
add address=10.0.0.0/16 list=admin-access
add address=192.168.1.0/24 list=admin-access
/ip firewall connection tracking
set icmp-timeout=20s tcp-close-timeout=20s tcp-close-wait-timeout=20s
tcp-fin-wait-timeout=20s tcp-last-ack-timeout=20s tcp-syn-received-timeout=
10s tcp-syn-sent-timeout=10s tcp-time-wait-timeout=20s udp-timeout=20s
/ip firewall filter
add action=drop chain=input comment=“Drop invalid connections”
connection-state=invalid
add chain=input comment=“Accept established connections” connection-state=
established
add chain=input comment=“Accept related connections” connection-state=related
add chain=input comment=“Allow access from local network” in-interface=LAN
src-address=192.168.1.0/24
add chain=input comment=“Allow access from local network 3” in-interface=Guest
src-address=192.168.2.0/24
add action=log chain=input comment=“Log everything else” log-prefix=
“IPv4 Drop input RR:”
add action=drop chain=input comment=“Drop everything else” disabled=yes
add action=drop chain=forward comment=“Drop invalid connections”
connection-state=invalid
add chain=forward comment=“Accept established connections” connection-state=
established
add chain=forward comment=“Accept related connections” connection-state=related
add action=drop chain=forward dst-address=192.168.2.0/24 src-address=
192.168.1.0/24
add chain=forward comment=“Allow traffic from Local network to go outside”
in-interface=LAN out-interface=WAN src-address=192.168.1.0/24
add chain=forward comment=“Allow traffic from Local network 3 to go outside”
in-interface=Guest out-interface=WAN src-address=192.168.2.0/24
add action=log chain=forward comment=“Log everything else” log-prefix=
“IPv4 Drop forward RR:”
add action=drop chain=forward comment=“Drop everything else” disabled=yes
add chain=input src-address-list=admin-access
add action=drop chain=input dst-port=21,22,23,80,443 protocol=tcp
add action=drop chain=forward comment=“VLAN rules” dst-address=192.168.1.0/24
src-address=192.168.2.0/24
add action=drop chain=forward comment=“Night disable internet” disabled=yes
in-interface=LAN out-interface=WAN time=1s-17h,sun,mon,tue,wed,thu,fri,sat
add action=drop chain=forward disabled=yes in-interface=LAN2 out-interface=WAN
time=2h1s-6h,sun,mon,tue,wed,thu,fri,sat
add action=drop chain=forward disabled=yes in-interface=LAN3 out-interface=WAN
time=2h1s-6h,sun,mon,tue,wed,thu,fri,sat
add action=drop chain=forward disabled=yes in-interface=Guest out-interface=WAN
time=1s-17h,sun,mon,tue,wed,thu,fri,sat
add action=drop chain=forward comment=“Day disable internet” disabled=yes
in-interface=LAN out-interface=WAN time=
8h-16h30m,sun,mon,tue,wed,thu,fri,sat
add action=drop chain=forward disabled=yes in-interface=LAN2 out-interface=WAN
time=8h-16h30m,sun,mon,tue,wed,thu,fri,sat
add action=drop chain=forward disabled=yes in-interface=LAN3 out-interface=WAN
time=8h-16h30m,sun,mon,tue,wed,thu,fri,sat
add action=drop chain=forward disabled=yes in-interface=Guest out-interface=WAN
time=8h-15h,sun,mon,tue,wed,thu,fri,sat
add action=drop chain=forward comment=“Tyler PC” disabled=yes out-interface=WAN
src-address=192.168.1.54 time=1s-23h59m59s,mon,tue,wed,thu,fri,sat
add action=drop chain=forward comment=“Downstairs workshop” disabled=yes
out-interface=WAN src-address=192.168.1.57 time=
1h1s-5h59m,sun,mon,tue,wed,thu,fri,sat
add action=drop chain=forward disabled=yes out-interface=WAN src-address=
192.168.1.57 time=22h1s-23h59m59s,mon,tue,wed,thu
add action=drop chain=forward disabled=yes out-interface=WAN src-address=
192.168.1.57 time=1s-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=drop chain=forward comment=xBOX disabled=yes out-interface=WAN
src-address=192.168.1.114 time=22h1s-23h59m59s,mon,tue,wed,thu
add action=drop chain=forward disabled=yes out-interface=WAN src-address=
192.168.1.114 time=1h1s-5h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=drop chain=forward disabled=yes out-interface=WAN src-address=
192.168.1.114 time=1s-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=drop chain=forward comment=HTPC disabled=yes out-interface=WAN
src-address=192.168.1.85 time=1s-9h59m,sun,mon,tue,wed,thu,fri,sat
add action=drop chain=forward comment=“Perminent Block” out-interface=WAN
src-address=192.168.1.65 time=1s-23h59m,sun,mon,tue,wed,thu,fri,sat
add action=drop chain=forward out-interface=WAN src-address=192.168.2.33 time=
1s-23h59m,sun,mon,tue,wed,thu,fri,sat
add action=drop chain=forward out-interface=WAN src-address=192.168.1.89 time=
1s-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add action=drop chain=forward out-interface=WAN src-address=192.168.1.64 time=
1s-23h59m,sun,mon,tue,wed,thu,fri,sat
/ip firewall nat
add action=masquerade chain=srcnat comment=“NAT rule” out-interface=WAN time=
0s-23h59m59s,sun,mon,tue,wed,thu,fri,sat
add chain=forward dst-port=25565 protocol=tcp
add chain=forward dst-port=25565 protocol=udp
add action=dst-nat chain=dstnat comment=“Mincraft Game Server” dst-address=
70.81.182.172 dst-port=25565 protocol=tcp src-port=“” to-addresses=
192.168.1.57 to-ports=25565
add action=dst-nat chain=dstnat dst-address=70.81.182.172 dst-port=25565
protocol=udp src-port=“” to-addresses=192.168.1.57 to-ports=25565