> Now I want to redirect on a hostname basis on different private ip's > like this : > > hostname A:80 -> public ip -> iptables -> 192.168.1.1:80 > hostname B:80 -> public ip -> iptables -> 192.168.1.2:80 > > Does anyone know a solution ? Iptables will only forward (resolved) IP adresses (and/or ports). If Host-A has the same IP address as Host-B, then packets will be forwarded to one and the same internet IP address. You could accept http traffic on, let's say, port 81 and redirect traffic for Host-B:81 to 192.168.1.2:80, but I don't think that's what you want : people would have to type http://Host-B:81 to enter the site. Rob