I’m looking for a guide to help with the initial config. of mT OS using winbox. (simple router 1 wan and 1 lan)
I have the board on the new accessable remotely, it is handing out private addresses with good DNS, but I cannot get any outbound traffic through the wan port .
Any help is greatly needed.
0 I chain=srcnat action=masquerade out-interface=
1 chain=dstnat action=dst-nat to-addresses=192.168.0.xxx to-ports=20-21 protocol=tcp in-interface=ether1 dst-port=20-21 … this is the portforwarding for my FTP server
To make the firewall in a quick way open a new terminal window in winbox and paste:
/ip firewall filter
add action=drop chain=forward comment=“” connection-state=invalid disabled=no
add action=accept chain=forward comment=“” connection-state=established disabled=no
add action=accept chain=forward comment=“” connection-state=related disabled=no
add action=accept chain=forward comment=“” disabled=no dst-port=7345-7346 protocol=tcp
add action=accept chain=forward comment=“” disabled=no dst-port=20-21 protocol=tcp
add action=accept chain=forward comment=“” connection-state=new disabled=no src-address=192.168.0.0/24
add action=log chain=forward comment=“” disabled=no dst-address=192.168.0.0/24 log-prefix=UNWANTED src-address=
!192.168.0.0/24
add action=drop chain=forward comment=“” disabled=no dst-address=192.168.0.0/24 src-address=192.168.0.0/24
add action=accept chain=input comment=“” disabled=no dst-port=22 protocol=tcp src-address=192.168.0.0/24
add action=log chain=input comment=“” disabled=no dst-port=22 log-prefix=“” protocol=tcp
add action=drop chain=input comment=“” disabled=no dst-port=22 protocol=tcp
The command line commands match up with the winbox commands for the most part. For example if you see /ip firewall filter. You would click ip on the left then down to firewall and then on the filter tab. It is actually quite simple.