On May 1, 2009, at 8:48 AM, Chris Abnett wrote:
> Ok I use my astlinux with arnos as my main router and internet
> gateway as well…
>
> My domain name is routed to the public IP of my astlinux.. so www.mysite.com
> goes to my public Ip.. and in the atlinux port 80 traffic is
> directed to the web server sitting behind astlinux box on its
> internal IP 10.0.0.2
> Same with port 86 traffic as well.. if I go to www.mysite.com:86
> from the outside.. port 86 traffic is routed to the internal IP
> 10.0.0.3
>
> So now if im sitting INSIDE the astlinux box and I do ping www.mysite.com
> it will ping the PUBLIC DNS IP of my domain.. perfect, just what I
> want…
>
> Now if im INSIDE the astlinux box.. say on a PC at 10.0.0.100 and I
> go http://www.mysite.com it routes me to port 80 ON the astlinux box
> and not port 80 on 10.0.0.2
>
> With port 86 ill get a page not found because port 86 is not in use
> on my astlinux machine…
>
> Is there any way to get the astlinux box to handle these requests
> from internal IP’s as if they were external and send them to the
> correct place?
> -Christopher
Christopher,
I think the best solution is to use Network tab -> {Configure DNS
Hosts} and define www.mysite.com to point to 10.0.0.2, assuming all
your PC's use DHCP via the AstLinux box.
If you aren't using the web interface, look at the STATICHOSTS
variable in /stat/etc/rc.conf
Lonnie
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users
Donations to support AstLinux are graciously accepted via PayPal to
[email protected].