Link to home
Start Free TrialLog in
Avatar of bojangles714
bojangles714Flag for United States of America

asked on

Need help with internal users accessing web servers with public IP.

We currently have a router in place. I have SRCNAT and DSTNAT on the router to allow our web servers to be accessed through the web. When I go to EXTERNAL.server.com from outside I can get to the website. BUT, I want my users to be able to go to EXTERNAL.server.com from the inside and get to the website. Unfortunately what happens is that when they go to EXTERNAL.server.com from the inside the connection times out. This is what I did, and is this right?

PUBLIC IP FOR SERVER: 8.8.5.5
PRIVATE ADDRESS FOR SERVER: 192.168.1.1

dst-nat destination address 8.8.5.5 action dst-nat to 192.168.1.1
src-nat source address 192.168.1.1 action src-nat to 8.8.5.5

So that works fine. Then I added another rule such as:

src-nat destination address 192.168.1.1 action src-nat to 8.8.5.5


I hope this makes since. It appears to be working fine but I wanted some feedback on this.
Avatar of mrhamen
mrhamen

I can't speak for the rules you put in place but another way to go about it would be to put an entry in the hosts file on the workstations.
ASKER CERTIFIED SOLUTION
Avatar of pwindell
pwindell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial