Re: hostname forwarding

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

 



Thank again for your valuable help.

So apache can take http requests to do that but what's about the other protocols ?

It seems that squid can do a transparent proxy for some of them.

Do I need to use a specific solutions for each different protocol I want to set and what solution to use for the most common (telnet, pop, imap, ftp, ...) ?

Bernard

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