Code: Select all
/ ip firewall filter
add chain=input protocol=udp src-port=53 action=accept comment="" disabled=no
add chain=input in-interface=Bellsouth action=drop comment="" disabled=no
add chain=input connection-state=established action=accept comment="Accept \
established connections" disabled=no
add chain=input connection-state=related action=accept comment="Accept related \
connections" disabled=no
add chain=input connection-state=invalid action=drop comment="Drop invalid \
connections" disabled=no
add chain=input protocol=tcp dst-port=22 dst-limit=0,5,dst-address/1m40s \
action=accept comment="SSH " disabled=no
add chain=input protocol=tcp dst-port=8291 action=accept comment="winbox" \
disabled=no
add chain=forward protocol=tcp dst-port=80 action=accept comment="" \
disabled=no
add chain=forward protocol=tcp dst-port=110 action=accept comment="" \
disabled=no
add chain=forward protocol=tcp dst-port=25 action=accept comment="" \
disabled=no
add chain=forward protocol=tcp dst-port=23 action=accept comment="" \
disabled=no
add chain=forward protocol=icmp action=accept comment="" disabled=no
add chain=forward action=drop comment="" disabled=no
[admin@DSL Router] ip firewall filter>
/ ip firewall nat
add chain=srcnat src-address=192.168.2.0/24 action=masquerade comment="" \
disabled=no
Thank you