I'm using iptables to redirect external requests depending on their
port/protocol like this :
hostname A:80 -> public ip -> iptables -> 192.168.1.1:80
hostname B:80 -> public ip -> iptables -> 192.168.1.1:80
It works pretty well, thanks to iptables :-)
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 ?
Thanks for your help.
Bernard