[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

1 External IP + Router 3com 812 + Debian with 2 internal IPs (port 80)



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......






Reply to: