Re: 1 External IP + Router 3com 812 + Debian with 2 internal IPs (port 80)
I think this will work. Add another NAT entry on your router:
NAT -> ext_r 80 -> int_1 80
NAT -> ext_r 8080 -> int_2 80
Then use a url with port 8080 to connect to int_2.
http://ext_r:8080/
On Wed, Sep 11, 2002 at 04:31:41PM +0200, I?aki Mart?nez wrote:
> Hi!!!
>
> The subject is NOT as explicit as i wanted....sorry......
>
> I have the following......
>
> * Router 3Com 812 DSL
> ext_r with 1 fixed IP (EXTERNAL)
> int_r internal IP of the router
>
> * Debian server with 2 internal IPs (only 1 NIC).
> int_1 = 192.168.200.100 = www.my_domain.com
> int_2 = 192.168.200.200 = www.my_domain.com (a modified copy)
>
> * Work Desktop PC
> int_3 = 192.168.200.50
>
>
>
> internet <---> (ext_r) router (int_r) <--+-------> (int_1/2) Server
> |
> +-------> (int_3) Desktop PC
>
> In the router i have configured and working:
> NAT -> ext_r 80 -> int_1 80
>
> In my own DNS i have configured and working www.my_domain.com, so
> i can see the web, all over the world, int_1, the correct site.
>
> Well, now i am doing changes to the site but in the int_2 IP, the modified
> copy of the site, so when i am in my desktop PC i can see the "good" site
> via DNS or the "modified site" changing the file /etc/hosts pointing the
> domain to the int_2.
>
> This is correct...... if i am at home, but when i am at work?????
>
> How can i access to the (modified) site in int_2 from internet??
>
>
> Thanks in advance......
>
>
>
>
>
--
Lee Bradshaw lee@sectionIV.com
Texas Instruments bradshaw@ti.com
GnuPG D8C3BBD2 CC08 D690 0B70 3C70 351E EB05 96A3 3789 D8C3 BBD2
Reply to: