Re: Iptables vhost
* Master_PE (debian@masterpe.nl) [030916 12:20]:
> Host.example1.com 192.168.1.2
> Host.example2.com 192.168.1.2
>
> And what i want to do is a packet that is for DNS name Host.example1.com is to
> go to rule 1 and Host.example2.com is to go to rule 2.
No, you can't do that. iptables work on the IP-Adress. DNS names can
be used by some proxying service, but by nothing else.
Cheers,
Andi
--
http://home.arcor.de/andreas-barth/
PGP 1024/89FB5CE5 DC F1 85 6D A6 45 9C 0F 3B BE F1 D0 C5 D1 D9 0C
Reply to: