NAT PROBLEM, HELP Require for New user!

I would really appreciate if there is someone who can help me solve this issue,

i have an public IP which i want to translate it to local IP and visa-verse

the problem is that as soon as i enabled the local IP x.x.20.200 my internet connection is gone on that particular computer with this IP is given.

here is the config


0 chain=srcnat src-address=192.168.30.220 action=src-nat to-addresses=x.x.x.204 to-ports=0-65535

1 chain=dstnat dst-address=x.x.x.204 connection-type=ftp action=dst-nat to-addresses=192.168.30.220 to-ports=0-65535

please let me know what a hack im i doing wrong..

thank you guys

If this question is how do I setup NAT here is the answer:

srcnat Out Interface=Your Wan Port Action=Masquerade

That’s it

No no it is not about that, it is about translating the public IP to local IP.

/ip firewall nat add action=dst-nat chain=dstnat disabled=no src-address=x.x.x.204 to-addresses=192.168.30.220

or if you only have one IP address, just use the interface(where the external interface is named ‘outside’):

/ip firewall nat add action=dst-nat chain=dstnat disabled=no in-interface=outside to-addresses=192.168.30.220

If you do have multiple external IP addresses, you will need the src-nat rule,

/ip firewall nat add action=src-nat chain=srcnat disabled=no src-address=192.168.30.220 to-addresses=x.x.x.204

Hey there,

i kindda have the same problem as “knab” does and i dont seem to fix it.

here is my problem maybe there is someone out there who can give me a hint.

I have a ftp server which i use for internal purposes and now i want to make it possible to access it from outside also.

I have one LAN card with internal IP 192.168.100.100 and i also have the public IP.

Now what i want is;

whenever i use internally a wanna access it through local ip 192… (which im doing now) and when i wanna use it from home i want to access it through 91.x.x.x (public)

1 ftp server 1LAN and 2 IPs

My mikrotik version is 2.9.27

thank you
J