When im ssh port forwarding . I cant port forwarding. Im setting nat rules and i cant
chain dstnat
dst-aadress: 0.0.0.0/0
dst-port: 22
in-interface: enternet port1(wanport)
action:
dstnat: localport aadress
and prioriteet nr 1 thats for nat
When im ssh port forwarding . I cant port forwarding. Im setting nat rules and i cant
chain dstnat
dst-aadress: 0.0.0.0/0
dst-port: 22
in-interface: enternet port1(wanport)
action:
dstnat: localport aadress
and prioriteet nr 1 thats for nat
/ip firewall nat add chain=dstnat dst-port=22 action=dst-nat protocol=tcp to-address=192.168.1.1 to-port=22
192.168.1.1 the ip where you forward
your case has been tested but it offered not helped me. I’ve tried this option but it does not work. Whether the matter should only be to adjust or NATis filter and mangle also view?
Did you redirected your ports in the mail router? The public IP is directly in the routerOS? Can you explain how is configured your network?
Yes, I have a Public IP, or cable to a router and then one goes mikrotik
on the second server.
I want to be the party’s Public IP address to the server in with ssh ’
I did this only to say you wrote here. I put the settings but it does NAT work.
I mean that either should not be put on not only the provisions but also filter NAT and mangle.
are you trying to access from your LAN internal IP to your WAN external IP? If it’s this, you need to:
http://wiki.mikrotik.com/wiki/Hairpin_NAT
If not,
please, copy paste the export of your router.
thanks,