This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can't acces internal webserver via external IP

Here is my situation.  I have a webserver and some forums setup on a linux box on my internal network.  I am doing some testing and design work with it here.  Right now people can access my webserver and forums just fine from outside my network.  I got all those packet rules and NAT issues setup.  However, from the inside, I cannot access my webserver at all via my external IP.  You may say use the internal IP, but because of some static settings with my forums I have to use the external IP.  I tried setting up some NAT rules to make all traffic generated torwards that IP from the inside go to my webserver on the inside, but it doesn't seem to work whatsoever.  I am totally lost as to what I need to do to make http traffic generated from the inside towards my webserver using the external IP go to the webserver (again, trying to acess the webserver from the same subnet, but have to use the external IP).

Any ideas?  I've tried what was obvious to me, but nothing.

Thanks! 

=================
my bad -- ASL 4.006


This thread was automatically locked due to age.
Parents
  • This has come up before so you might search for various answers.  You can do a clever NAT rule but I prefer to do it with DNS.  I suggest setting up a DNS server on the Linux box and puting your domain there.  Have it as a copy of the real one but put internal IPs where they should and it will work.

    Make your internal clients query this internal server.  Or if the clients query ASL then have ASL forward DNS to the Linux box and have the Linux box forward DNS to the internet.
       
Reply
  • This has come up before so you might search for various answers.  You can do a clever NAT rule but I prefer to do it with DNS.  I suggest setting up a DNS server on the Linux box and puting your domain there.  Have it as a copy of the real one but put internal IPs where they should and it will work.

    Make your internal clients query this internal server.  Or if the clients query ASL then have ASL forward DNS to the Linux box and have the Linux box forward DNS to the internet.
       
Children
  • Give me some idea what I would do with NAT.  The timeframe I am working on all of this really doesn't warrant setting DNS on my linux box and all that.  I just more or less need a temporary fix.  Whatever way I can fudge it will work for me... I just want easiest and I think if there's a way w/NAT, that would be my preference.