Community discussions

MikroTik App
 
st3ph4n3
just joined
Topic Author
Posts: 8
Joined: Fri Dec 10, 2010 6:42 pm

Access DST-NATed services by the public IP address from LAN

Thu Oct 13, 2011 3:11 pm

My router (192.168.0.1) has a public IP address (let's say 10.0.0.1) and i have a webserver (192.168.0.10) inside my lan i want to be accessed from outside.

from ouside access, i just wrote a dst nat rules that works.That's is the result :
chain=dstnat action=dst-nat to-addresses=192.168.1.10 to-ports=80 protocol=tcp dst-address=10.0.0.1 dst-port=80

My problem is that one :
from inside my lan, I need to access that webserver by its public ip address (not its private .. i can't explain why but that is necessary for my webserver apps to work well).

From Google I don't find something that can helps me.

Thanks
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Access DST-NATed services by the public IP address from

Thu Oct 13, 2011 3:49 pm

 
wlkite
just joined
Posts: 2
Joined: Sat Jan 23, 2010 6:40 pm

Re: Access DST-NATed services by the public IP address from

Thu Oct 13, 2011 8:18 pm

Hi I have a simular issue but

Network layout
Private IP customers (masqueraded)
Internet <--> Outside interface 1.1.1.1 {rounter} <--> wirless network <-->
Live IP customers

My problem is that Live IP customers have to be authenticated by MAC address to Internet provider.

Do I setup multiple Live IPs on the Outside interface with a seperate MAC address or
Do I setup a scr-nat/dst-nat to these Live IP customers. Some Live IP customers would be a simple Web server (which I think I understand) but some would be a router that they use to send and receive all kinds of data to and from thier location.
Please can you point me in the best direction
thanks
walan
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Access DST-NATed services by the public IP address from

Fri Oct 14, 2011 4:30 pm

a) This is not a similar problem. At all.
b) You can't have more than one MAC address per interface.