Hello
I am using a new firewall config that should be more secure than my previous setup. I can get winbox to work form the WAN I have manages to get web interface open.
What do I need to change?
/ip firewall> export
# mar/07/2017 21:00:28 by RouterOS 6.38.3
# software id = R1QD-BPJQ
#
/ip firewall address-list
add address=10.0.0.0/24 list=Local_Lan
add address=196.0.0.0/8 list=SA_Sub
add address=41.0.0.0/8 list=SA_Sub
add address=165.0.0.0/8 list=SA_Sub
add address=197.0.0.0/8 list=SA_Sub
add address=129.0.0.0/8 list=SA_Sub
add address=105.0.0.0/8 list=SA_Sub
add address=10.0.0.0/24 list=SA_Sub
add address=169.0.0.0/8 list=SA_Sub
add address=154.0.0.0/8 list=SA_Sub
/ip firewall filter
add action=drop chain=input comment="drop invalid input" connection-state=\
invalid
add action=drop chain=forward comment="drop invalid" connection-state=\
invalid
add action=accept chain=input comment="Accept input from LAN" \
src-address-list=Local_Lan
add action=accept chain=input comment="Accept estabished on input" \
connection-state=established
add action=accept chain=input comment="Accept web from SA" dst-port=8080 \
protocol=tcp
add action=accept chain=input comment="Accept winbox from SA" \
connection-state=established,related,new dst-port=8219 protocol=tcp
add action=drop chain=input comment="Drop all else for input"
add action=accept chain=forward comment="Allow new connections from LAN" \
connection-state=new src-address-list=Local_Lan
add action=accept chain=forward comment="Allow releated connections" \
connection-state=related
add action=accept chain=forward comment="Accept established" \
connection-state=established
add chain=forward comment="Allow access from SA_Sub List" in-interface=\
pppoe-out1 protocol=tcp src-address-list=SA_Sub
add action=drop chain=forward comment="Block access not from SA_Sub List" \
in-interface=pppoe-out1 protocol=tcp src-address-list=!SA_Sub
add action=accept chain=forward dst-port=6565 protocol=tcp
add action=drop chain=forward comment="Drop foward " connection-nat-state=\
!dstnat
/ip firewall nat
add action=masquerade chain=srcnat out-interface=pppoe-out1
add action=dst-nat chain=dstnat dst-port=6565 in-interface=pppoe-out1 \
protocol=tcp to-addresses=10.0.0.250 to-ports=22
add action=dst-nat chain=dstnat comment=Owncloud dst-port=443 \
in-interface=pppoe-out1 protocol=tcp to-addresses=10.0.0.249 to-ports=\
443
add action=dst-nat chain=dstnat comment="Dev2 dst" disabled=yes dst-port=\
443 in-interface=pppoe-out1 protocol=tcp to-addresses=10.0.0.245 \
to-ports=443
add action=src-nat chain=srcnat comment="Dev2 src" disabled=yes \
out-interface=ether2 protocol=tcp src-port=80 to-addresses=10.0.0.245 \
to-ports=80
add action=dst-nat chain=dstnat comment=ipkvm dst-port=8888 in-interface=\
pppoe-out1 protocol=tcp to-addresses=10.0.0.246 to-ports=8888