Community discussions

MikroTik App
 
wilsongamo
newbie
Topic Author
Posts: 45
Joined: Thu Jan 22, 2015 1:22 pm

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

Fri Jan 23, 2015 4:35 pm

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
 
CelticComms
Forum Guru
Forum Guru
Posts: 1765
Joined: Wed May 02, 2012 5:48 am

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

Sat Jan 24, 2015 12:09 am

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.
 
wilsongamo
newbie
Topic Author
Posts: 45
Joined: Thu Jan 22, 2015 1:22 pm

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

Wed Jan 28, 2015 3:42 pm

HI ,
Its not working i dnt know why.
please help me
 
alegzz
just joined
Posts: 2
Joined: Mon Jan 26, 2015 12:18 pm

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

Wed Jan 28, 2015 10:17 pm

show output of commands:
/ip firewall filter print chain=forward
/ip firewall filter print chain=forward
 
wilsongamo
newbie
Topic Author
Posts: 45
Joined: Thu Jan 22, 2015 1:22 pm

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

Thu Feb 05, 2015 4:08 pm

/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
 
wilsongamo
newbie
Topic Author
Posts: 45
Joined: Thu Jan 22, 2015 1:22 pm

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

Thu Feb 05, 2015 4:42 pm

YES
It okay now thanks