Re: [Vserver] Iptables NAT & vservers

From: Marc Kalberer <Marc.Kalberer_at_programmers.ch>
Date: Mon 13 Mar 2006 - 18:07:04 GMT
Message-ID: <4415B4C8.3050709@programmers.ch>

thanks all for the answers,
I'll go on with a "per services" dispatch.

...and yes I think apache provides such mechanism, but I wanted to do it
cleanly ;-)

Joep Gommers wrote:
> Well for web, radius you could use Squid as a reversed proxy. For SSH
> you can setup different ports on the different ip's.
>
> Or in some nasy way you could use snort to match for your hostname and
> dynamicly make the forward, and remove it when its gone. But thats
> just utter nonesense.. nonetheless possible
>
> J-
>
> On 3/13/06, Sebastian Harl <sh@tokkee.org> wrote:
>
>>> .. it would explain why I didn't succeed ;-)
>>>
>> Indeed ;-)
>>
>>
>>> Do you think there is a other way to redirect all incoming connection to
>>> a particular machine base on the "connection name" but not on the port
>>> number ex:
>>> ssh mymachine.example.com
>>>
>> No, I don't think so... TCP/IP does not carry any hostname information, so
>> routing would have to be done in the application layer protocol. HTTP, for
>> example, carries the hostname with it - that's why domain based hosting is
>> available (and possible ;-) e.g. in Apache.
>>
>> The "connection name" that you were refering to is the IP address...
>>
>> Cheers,
>> Sebastian
>> --
>> Sebastian "tokkee" Harl
>> GnuPG-ID: 0x8501C7FC
>> http://tokkee.org/
>>
>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.1 (GNU/Linux)
>>
>> iD8DBQFEFaGpEFEKc4UBx/wRArUaAJ9qWM6/ZoxUO/NTeR1n0RG0msB5YgCeJMMS
>> O0QxWlQjbue01b61VnFTDPU=
>> =Kmhm
>> -----END PGP SIGNATURE-----
>>
>>
>> _______________________________________________
>> Vserver mailing list
>> Vserver@list.linux-vserver.org
>> http://list.linux-vserver.org/mailman/listinfo/vserver
>>
>>
>>
>>
> _______________________________________________
> Vserver mailing list
> Vserver@list.linux-vserver.org
> http://list.linux-vserver.org/mailman/listinfo/vserver
>

-- 
Programmers.ch
Solutions libres et Opensources
Tel: ++41 76 44 888 72
Site: http://www.programmers.ch
Site: http://openprojects.ch

_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Mon Mar 13 18:06:04 2006

[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Mon 13 Mar 2006 - 18:06:09 GMT by hypermail 2.1.8