hostname forwarding

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

 



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


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux