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

Re: Iptables vhost

* Master_PE (debian@masterpe.nl) [030916 12:20]:
> Host.example1.com
> Host.example2.com
> 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.

   PGP 1024/89FB5CE5  DC F1 85 6D A6 45 9C 0F  3B BE F1 D0 C5 D1 D9 0C

Reply to: