A
A
Andrey Raboy2015-03-18 15:28:18
Computer networks
Andrey Raboy, 2015-03-18 15:28:18

How to redirect from internal ip to external ip in windows?

Windows server 2008
The problem is:
there is an external IP 8.8.8.8
there is an internal IP 1.1.1.1
computers from the internal network cannot access the external IP 8.8.8.8. Computers from the external network (Internet) access via IP 8.8.8.8 - there are no problems here ...
External IP is white, there are no problems here, you need to do a redirect or something like that. Once I did a similar thing in Ubuntu for mana, everything worked ... Here I pass.
Grateful for help)

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Spetros, 2015-03-18
@Spetros

In fact, it is customary to solve such things by raising the service on the internal ip, or by setting it up for two interfaces.
As an option, portmapping is possible - but there are special cases of services that do not work that way.
And for your design to work as described in the question, NAT loopback must be implemented.

V
vitaliy_saveliev, 2015-03-18
@vitaliy_saveliev

It is possible to make such a scheme:
from the LAN, users access probably by DNS name, on the local DNS create a zone in which the name will be correlated with the local IP address.

A
Andrey Raboy, 2015-03-18
@raba

the whole thing is that when accessing from the external network 8.8.8.8 there is a redirect to the internal machine 1.1.1.1 and everything works as it should:

  • properties, Advanced tab, Options button, Advanced tab, custom eth0, and Options. In the Services folder, click add, and you get the opportunity to configure portmapping as real_ip:port1 -> internal_ip:port2
internal machines cannot access the server via external IP

C
Chvalov, 2015-03-18
@Chvalov

I have a similar picture
. Externally, it doesn’t even ping inside the network,
but since I only need access to one machine, I just edit the host file

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question