Using internal services via external IP address



I'm having an issue with my ADSL router and port forwarding. I
currently have an internal server running a few services (let's call
this box SERVER1). I also have an ADSL router, with a static IP
address and port fowarding configured to allow the services on SERVER1
to be accessed externally via SERVER1.MYDOMAIN.COM.

This all works perfectly when I'm outside my local network, however
when I'm on my local network and I try to access SERVER1 via
SERVER1.MYDOMAIN.COM, my router is not forwarding the connection on to
SERVER1 and is instead trying to serve the connection itself.

A traceroute example looks like this

~$ traceroute SERVER1.MYDOMAIN.COM
traceroute to SERVER1.MYDOMAIN.COM (XXX.XXX.XXX.XXX), 64 hops max, 40
byte packets
1 YYY.YYY.YYY.YYY (YYY.YYY.YYY.YYY) 1.748 ms 1.202 ms 1.206 ms
2 YYY.YYY.YYY.YYY (YYY.YYY.YYY.YYY) 1.245 ms 1.374 ms 1.232 ms

where YYY.YYY.YYY.YYY is the IP address of my router.

Is there a way to force my router to apply the port forwarding rules
when the request comes from the internal network? I realise that I
could resolve this by setting up a local DNS server, but would much
prefer to sort it out via the router if possible.

Any help would be much appreciated.

Thanks
Scott

.



Relevant Pages

  • Re: sbs 2008 - no Internet access possible to 2nd server
    ... however I am not sure that the router in my SOHO setup allows multiple IP@ on the WAN side. ... Router forwards Internet traffic to server1. ... I can access my test application from the Internet without problems. ...
    (microsoft.public.windows.server.sbs)
  • Re: Using internal services via external IP address
    ... currently have an internal server running a few services (let's call ... I also have an ADSL router, ... address and port fowarding configured to allow the services on SERVER1 ... replace 192.168.10.20 with the SERVER1 LAN address. ...
    (comp.os.linux.networking)
  • Re: Failover IP router
    ... What I am trying to do is to create a failover router on a redhat box. ... If website.com server1 fails, ... Having 3 Nic cards 1 going to one ISP, ...
    (RedHat)
  • Re: Denkfehler? Exchange in einer Child Domain.
    ... Wenn Router, dann sag dem Router dass er alle sauf Port25 eingehend auf die ... wenn SERVER1, dann eben dort die weiterleitung auf Server2 (Eingehend NAT ...
    (microsoft.public.de.german.exchange2000.setup.installation)
  • Re: RD works on LAN not across Internet
    ... modem - no router involved with the same ... Zone Alarm's free firewall behind the router with port forwarding (note that ... knowing the router IS correctly doing port forwarding), ... outside my LAN. ...
    (microsoft.public.windowsxp.work_remotely)