Hi,

Ramon Acedo wrote:
> 
> I'd like to have a map like this:
> 
> ftp1.mydomain.net ---> 192.168.1.10
> ftp2.mydomain.net ---> 192.168.1.50
> www1.mydomain.net ---> 192.168.1.12
> www2.mydomain.net ---> 192.168.1.33

thatīs hard, tricky and not always possible.

most protocols (e.g. ftp, telnet, http without host-header) donīt
transmit the fqdn.
they use only the ip.

so you have to have a look at the dns-server.
someone is asking for the ip of ftp2.mydomain.net and immediately after
that, someone is connecting via ftp to your server.
then you can assume, that he connected to ftp2.mydomain.net.

with protocols that transmit the fqdn (eg. http with host-header) this
is no problem.
they send a request, in the request you can see the "virtual host" and
you can forward the request to a certain server in the intranet.

there are some other tricks, but the easiest way is to order more ips ;)
if you get from your provider just one, then you often (at least in
germany) are not allowed to connect more than one client, often you are
even not allowed to connect a server.

bye
Ralf


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to