Community discussions

MikroTik App
 
akram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 88
Joined: Wed Aug 10, 2005 4:58 pm

open port on MT from WAN to LAN

Fri Jan 30, 2009 11:46 pm

hello ,

i tried alot to open the port 21 for ftp and port 3389 for ms remote ,but always failed
can any one tell me what can i do about this

public ip : 111.111.111.111 for example on interface WAN
internal ip : 192.168.1.28 for MT on interface LAN

the server that i want to connect to is
server ip : 192.168.1.3
i have the remote desktop open and the ftp filezilla wokring on it

help me guys
 
akram
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 88
Joined: Wed Aug 10, 2005 4:58 pm

Re: open port on MT from WAN to LAN

Sat Jan 31, 2009 2:25 am

http://wiki.mikrotik.com/wiki/How_to_li ... Local_ones

i have read this link and i got all the answers i need

here is the rules that i need to fix my issue

;;; Remote desktop allow
chain=dstnat action=dst-nat to-addresses=192.168.1.3 to-ports=3389 in-interface=Wan dst-port=3389 protocol=tcp

;;; Ftp allow
chain=dstnat action=dst-nat to-addresses=192.168.1.3 to-ports=21 in-interface=Wan dst-port=21 protocol=tcp