Re: hostname forwarding

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

 



this is not possible using ipotables

Apache however can very well handle this ..


On Wed, 11 Dec 2002, bernard wrote:

> 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
> 

-- 
---
Kind Regards
Patrick Maartense (using Pine on a Text Console)




[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