Page 1 of 1

I wanted to know how to redirect my public ip to local ip

Posted: Fri Jan 23, 2015 4:35 pm
by wilsongamo
Hi ,
I have One plublic IP I wanted to how redirect this public IP to
Local ip on my network.
Example redirect 41.202.x.x to 192.168.x.x

Thanks

Re: I wanted to know how to redirect my public ip to local i

Posted: Sat Jan 24, 2015 12:09 am
by CelticComms
Use IP Firewall NAT for both network address translation and port address translation:

http://wiki.mikrotik.com/wiki/Manual:IP/Firewall/NAT

Note that traffic must also be permitted to the DST NATed addresses/ports in the Forward chain of OP Firewall.

Re: I wanted to know how to redirect my public ip to local i

Posted: Wed Jan 28, 2015 3:42 pm
by wilsongamo
HI ,
Its not working i dnt know why.
please help me

Re: I wanted to know how to redirect my public ip to local i

Posted: Wed Jan 28, 2015 10:17 pm
by alegzz
show output of commands:
/ip firewall filter print chain=forward
/ip firewall filter print chain=forward

Re: I wanted to know how to redirect my public ip to local ip

Posted: Thu Feb 05, 2015 4:08 pm
by wilsongamo
/ip address add address=10.5.8.200/32 interface=Public
/ip firewall nat add chain=dstnat dst-address=10.5.8.200 action=dst-nat \
to-addresses=192.168.0.109
/ip firewall nat add chain=srcnat src-address=192.168.0.109 action=src-nat \
to-addresses=10.5.8.200

This is my configuration and it still does not work

Re: I wanted to know how to redirect my public ip to local ip

Posted: Thu Feb 05, 2015 4:42 pm
by wilsongamo
YES
It okay now thanks