Page 1 of 1
Зort forwarding
Posted: Mon Sep 03, 2012 8:13 pm
by magals
Hello
Need to do port forwarding to mikrotik, telnet to connect to the router via an external ip to a device on the LAN.
External ip-router (any number): 77.77.77.250
Internal ip-router: 192.168.30.118/24
Internal ip device: 192.168.30.11/24
Port to connect to the device via telnet: 5001
Rules Nat: img1 and img2
Drawing Network Diagram: img3
tried to adjust, port forwarding is not happening. The router to more of these rules, do not set
Re: Зort forwarding
Posted: Mon Sep 03, 2012 8:44 pm
by mixig
Hi,
if you are using this port forward from outside to inside you can put incoming interface so that rule can be more specific... Put rule at the top and see the counter? does packets are passing through that rule? if does, does the local device know how to return traffic back?
Re: Зort forwarding
Posted: Mon Sep 03, 2012 9:08 pm
by magals
Hi,
if you are using this port forward from outside to inside you can put incoming interface so that rule can be more specific... Put rule at the top and see the counter? does packets are passing through that rule? if does, does the local device know how to return traffic back?
What exactly can be more options? The source address can be different.
I used a sniffer and packet counter looked at the rules. When you try to join me in sniffer and see who comes in the counter package, but I do not see him with the outgoing interface that same package with the required port. In consequence, I have come to observe that the rules are not working properly
Re: Зort forwarding
Posted: Tue Sep 04, 2012 9:23 am
by mixig
try locally, from cmd prompt: telnet 192.168.30.11 5001 and see is it working
Re: Зort forwarding
Posted: Tue Sep 04, 2012 10:26 am
by magals
try locally, from cmd prompt: telnet 192.168.30.11 5001 and see is it working
I can use telnet for local connection to address 192.168.30.11 5001
Re: Зort forwarding
Posted: Tue Sep 04, 2012 4:29 pm
by Feklar
Is 77.77.77.250 assigned to the WAN of the router? If the router doesn't know to listen for that public IP, it cannot forward it since it never gets that information in the first place.
Re: Зort forwarding
Posted: Tue Sep 04, 2012 4:42 pm
by magals
77.77.77.250 is the personal address of the router in the world, established on the first interface
http://files.mail.ru/2RS6NX
router settings
Re: Зort forwarding
Posted: Tue Sep 04, 2012 11:36 pm
by magals
Fixed network diagram
Зort forwarding
Posted: Wed Sep 05, 2012 7:02 am
by drewrol18
Try to remove the destination address, everything else looks fine to me
Re: Зort forwarding
Posted: Thu Sep 06, 2012 5:04 pm
by peterke
Hi,
Remove the destination address en set the In.Interface to the wan interface.
Is working for me.