Re: [Vserver] Iptables NAT & vservers

From: Sebastian Harl <>
Date: Mon 13 Mar 2006 - 16:14:46 GMT
Message-ID: <>


> iptables is suppose to handle the -d <hostname>
> (host is
> -A PREROUTING -p tcp -m tcp -d -j DNAT --to-destination
> ... what's wrong with my approach, I didn't succeed to make it work.

iptables does only support IP based routing. I guess, the -d <hostname> switch
is only provided for convenience but will simply resolve the hostname to the
appropriate IP.

I don't think domainname based routing is available at all...


Sebastian "tokkee" Harl
GnuPG-ID: 0x8501C7FC

Vserver mailing list

Received on Mon Mar 13 16:15:16 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 13 Mar 2006 - 16:15:19 GMT by hypermail 2.1.8