Guest User!

You are not Sophos Staff.

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

NAT & Virtual IP Addresses

Here is the situtation.
Firewall has 2 NIC interfaces.
LAN = 10.0.0.1
Internet = 142.1.1.1

I have a Windows 2000 Server running with 1 NIC card with 20 Virtual IP addresses.
Primary address = 10.0.0.2
Virtual address are = 10.0.0.3 to 10.0.0.23
Each of these virtual address has IIS (web) on them.

Astaro firewall (current patch level) can only DNAT the first IP address 10.0.0.2 and cannot see the other ones ?????? WHY ?

My DNAT rule for the first interface is:
webtrends_ext http webtrends_int http
Packet Filter
any http webtrends_int allow

I applied the same rules and filters for the virtual addresses and Astaro doesn't see it !! 
HELP  [:)]


This thread was automatically locked due to age.
Parents
  • Don't take my word for it, but I think you're out of luck here. 

    I think there is no way you can dnat one host/port to a range of hosts/port. 

    The technique you are using to run different IIS servers looks like the way I learned to do it in IIS version 3 or something. And I believe it is an old approach these days (ip shortage and all you know  [:)] ).

    What I'm trying to get at...is that apache nowadays can use name based virtual hosting, where the client sends a host string that the web server uses to identify the different virtual hosts instead of the IP based virtual hosting.

    Perhaps IIS can do name based virtual hosting too? I had a little look, but I didn't find anything.

    Here is some info on what I'm talking about... if you want more details: http://www.sdnp.undp.org/rc/areas/tech/web/apachevirt.html

    Something tells me that you may have to use IIS for something. If not all the recent exploits in IIS havent made you want to switch to apache, perhaps this will?  ;-)

    Best regards,
    Ørjan Sandland
  • I have 254 Public IP address and want to use these.  I did read the article regarding virtual addressing instead of using IP's but this won't work at the moment.  We have to stay with IIS because its integrated with Coldfusion !  So tell me  ... Do I have any chance of making this work ?  The server only has 1 physical network card but 20 public IP's, we want to put this behind firewall and convert it to Private address and then DNAT the ports back.  As I mentioned in the previous post.
    Any help on this matter is much appreciated.
    Regards
    Emerich
  • Emerich,
    you have public class C network - great :-)

    Someone else mentioned it earlier, that you can set up 20 IP aliases on the external interface.
    DNAT each of them to the relevant virtual IP's on the web host.

    If I was you however, I'd consider splitting the class C into two parts, using one in a DMZ (where I'd place this W2K server) and the rest on the secure LAN.

    Just a thought.

    Best regards,
    Ørjan Sandland.
  • Hi there,

    I know IIS well so I can help you if you want to.
    I'm just not quite sure what you want to achieve, if you want to host multiple sites on one IP thats real easy if you're using at least IIS 4. The only limitation is that the site Needs a unique IP if you're running multiple SSL sites but if it's just basic sites youi're home free.

    What you need to do is (for each site) get the properties and on the first tab (General) you click advanced and edit the entry and add a host header (NOT Http headers.. HOST headers). The syntax of a host header is what you would type in your browser i.e. www.mysite.com .

    If you do that several sites can use the same IP, all you nbeed client wise is http1.1 support, which is just about everything above IE 2.0.

    Good luck, mail me if you need more details or if I answered thje wrong question.

    -----------------------------
    shikyo@hotmail.com
Reply
  • Hi there,

    I know IIS well so I can help you if you want to.
    I'm just not quite sure what you want to achieve, if you want to host multiple sites on one IP thats real easy if you're using at least IIS 4. The only limitation is that the site Needs a unique IP if you're running multiple SSL sites but if it's just basic sites youi're home free.

    What you need to do is (for each site) get the properties and on the first tab (General) you click advanced and edit the entry and add a host header (NOT Http headers.. HOST headers). The syntax of a host header is what you would type in your browser i.e. www.mysite.com .

    If you do that several sites can use the same IP, all you nbeed client wise is http1.1 support, which is just about everything above IE 2.0.

    Good luck, mail me if you need more details or if I answered thje wrong question.

    -----------------------------
    shikyo@hotmail.com
Children
No Data