Code: Select all
[admin@MikroTik] > /ip firewall nat print
Flags: X - disabled, I - invalid, D - dynamic
0 ;;; defconf: masquerade
chain=srcnat action=masquerade out-interface=ether1
1 chain=dstnat action=netmap to-addresses=192.168.88.238 to-ports=22 protocol=tcp in-interface=ether1 dst-port=22 log=no
2 chain=dstnat action=dst-nat to-addresses=192.168.88.238 to-ports=80 protocol=tcp dst-address=1.1.1.1 dst-port=80 log=no
3 chain=dstnat action=dst-nat to-addresses=192.168.88.238 to-ports=443 protocol=tcp dst-address=1.1.1.1 dst-port=443 log=no
[admin@MikroTik] >
Code: Select all
chain=dstnat action=netmap to-addresses=192.168.88.0/24 to-ports=22 protocol=tcp in-interface=ether1 dst-port=22 log=no
Code: Select all
chain=dstnat action=netmap to-addresses=192.168.88.238-192.168.88.250 to-ports=22 protocol=tcp in-interface=ether1 dst-port=22 log=no
it doesn't work, the connections time out and I can't figure out why.
Product code RB951Ui-2nD
Version: 6.37.2