Public IP to router?

So, I wanted to get a public IP to a router within our internal network. I got the IP to work externally but internally however, it doesn’t seem to work.

I was following the steps in this post

http://forum.mikrotik.com/t/need-help-passing-public-ips-to-customers-new-to-the-tik/58876/1

which got me that far.

Here is what I have

NET—(Gateway MikrotikRB)----(WirelessBridgePTP)+++(WirelessBridgePTP)-----(AP)—(CPE)----(MikrotikRouter with public)

Now if I goto connect to the public IP with from outside our natted network it works fine. But if I goto connect to the public IP from inside the network.. the ip address tries to log me into the Gateway MikrotikRB.

Ideas?

Sounds like you may need hairpin NAT:

http://wiki.mikrotik.com/wiki/Hairpin_NAT

I tried that too and that didn’t work at all. I just omitted the ports (being that its not a webserver) and it still failed :frowning:

Try using trace route to see what is happening to the internal traffic.

It is going to the gateway and stopping there. When i type the ip address in it goes to the gateway instead of the router it needs to goto.

Sent from my SCH-S720C using Tapatalk 2

I think what is going on; when a device outside the nat goes to communicate with the public ip it goes trough because of the srcnat and dstnat rules provided in the link above but when a device within the nat tries to communicate with the public ip the gateway (mikrotik) doesnt know how to pass it?

In the link provided it tells u to put the public ip on the wan. So i think that when a device within a nat tries to attach it sees the public on the wan becuse its the first device with that ip. So i guess i need some way to tell the local range if it tries to attach to the public ip it needs to be passed throiugh the gateway to the device witb the public ip.

Sent from my SCH-S720C using Tapatalk 2

Try uploading your /export compact output so we can see the current situation.

What are you looking for? I can post that. The whole thing is quite revealing for my customers and I rather not do that.

Do you need FW rules and routes?

The NAT and forwarding filter entries are probably where I would start.

If it is hard to sanitize for public posting you can contact me by email.

Alright. I’ll email you. :slight_smile:

Did u ever get my email?

Sent from my SCH-S720C using Tapatalk 2