Community discussions

MikroTik App
 
gambit66
just joined
Topic Author
Posts: 3
Joined: Mon May 28, 2007 7:08 pm

forwarding a port on external ip to internal ip

Thu Oct 04, 2007 6:21 pm

Hi, I'm a bit of a novice and I would really appreciate some help. I have setup a mikrotik router (2.9.46) to provide internet access to internal users via a pppoe internet connection established by the mikrotik router using NAT. Everything works cool all users on internal NATed network can access the internet without issues. I have also setup a dstnat rule to forward requests from the public internet ip to an internal webserver:

chain=dstnat action=dst-nat to-addresses=192.168.1.241 to-ports=80
in-interface=Internet dst-port=8000 protocol=tcp

Our external ip is a dynamic ip. I have setup dyndns using the changeip script. Everything up to here works perfectly (external users can access the internal webserver using the dyndns name).

What i can't get right is allowing internal users (mobile users with notebooks that periodically come to the office) to access the internal webserver using the external ip that is associated with the dyndns name. ie. they should be able to connect to the web site from anywhere in the world and on the local network using the same url.
 
User avatar
fatonk
Member
Member
Posts: 438
Joined: Tue Feb 22, 2005 11:06 am
Location: Mitrovica/Kosova

Re: forwarding a port on external ip to internal ip

Thu Oct 04, 2007 6:54 pm

They should connect t othe server with your local IP of the server.

Regards.
 
gambit66
just joined
Topic Author
Posts: 3
Joined: Mon May 28, 2007 7:08 pm

Re: forwarding a port on external ip to internal ip

Thu Oct 04, 2007 7:01 pm

yeah, but unfortunately the people don't want that. we had this working in 10 seconds on our old netgear adsl el cheepo router. Just trying to replicate our old setup.
 
User avatar
Chupaka
Forum Guru
Forum Guru
Posts: 8712
Joined: Mon Jun 19, 2006 11:15 pm
Location: Minsk, Belarus
Contact:

Re: forwarding a port on external ip to internal ip

Sat Oct 06, 2007 2:28 am

use split DNS: one address for public users, local address for local users
 
shellton
just joined
Posts: 18
Joined: Mon May 31, 2004 10:05 pm

Re: forwarding a port on external ip to internal ip

Sat Oct 06, 2007 3:05 pm

I have the same problem. My web, mail server is on local network , and users from local network have some trouble to access server. I solved problel by spliting DNS server in two zones - for local users and for public. May be anyone know how to turn www, mail traffic to server trough Mikrotik...

Regards,
Linas

Who is online

Users browsing this forum: No registered users and 80 guests