Community discussions

MikroTik App
 
masterpianist
just joined
Topic Author
Posts: 16
Joined: Wed Sep 12, 2018 10:19 am

Can't forward a telnet port of a device

Tue Oct 23, 2018 2:59 pm

Hello guys !
I want to forward a telnet port of a device on a specific port but i am having some issues
I tried to forward a telnet port on my MikroTik but it doesn't work, i don't what i did wrong
chain=dstnat action=dst-nat to-addresses=192.168.x.x to-ports=23
protocol=tcp dst-address=My-Wan-Ip dst-port=xxxx log=no log-prefix=""

i also tried to accept all forwarding from the dst-port xxxx but still doesn't work.
What am I missing here?
Any help and advice would be appriciated.
 
matuss
newbie
Posts: 26
Joined: Sun Jul 01, 2018 2:03 pm

Re: Can't forward a telnet port of a device

Tue Oct 23, 2018 4:16 pm

i also tried to accept all forwarding from the dst-port xxxx but still doesn't work.
You dont have to accept all forwards from/to the dst-port.
Better way is to enable all forwards with connection nat state dstnat - add new rule with following parameters: chain=forward, connection state=new, connection nat state=dstnat, action=accept
Also make sure you have enabled forward rule for established/related packets.
 
masterpianist
just joined
Topic Author
Posts: 16
Joined: Wed Sep 12, 2018 10:19 am

Re: Can't forward a telnet port of a device

Fri Oct 26, 2018 2:35 pm

sorry I forgot to mention the IP I want to forward telnet port it's on a VLAN

Who is online

Users browsing this forum: Google [Bot] and 74 guests