In the configuration below, if I disable filter rule #1 I cannot log into ssh from either port. As expected, if I enable filter rule #1, I can log in from both ports.
Code: Select all
[admin@MikroTik] /ip firewall filter> print
0 chain=input action=accept protocol=tcp dst-port=10022 log=no log-prefix=""
1 chain=input action=accept protocol=tcp dst-port=22 log=no log-prefix=""
....
Code: Select all
admin@MikroTik] /ip firewall> nat print
0 chain=dstnat action=dst-nat to-ports=22 protocol=tcp in-interface=ether1-gateway dst-port=10022 log=yes log-prefix=""
I want to be able to enable logins from 10022 without enabling port 22. Am I missing something obvious?
Thanks