Re: [Vserver] ability to use 130+ ips within a vserver yet?

From: Chuck <chuck_at_sbbsnet.net>
Date: Thu 06 Apr 2006 - 15:50:47 BST
Message-Id: <200604061050.47666.chuck@sbbsnet.net>

On Thursday 06 April 2006 08:01 am, Oliver Welter wrote:

just wanted to let you know your suggestion cured my problem :) thanks!!

it translates perfectly, and now the email software can co-exist with other
port 80 guest servers nicely.

now if the high ip address usage within a guest works reasonably nicely, it
will cure my other problems of not being able to move some machines over to
vservers..

> Hi Chuck,
>
> >> iptable -t nat -I PREROUTING -d 192.168.168.0/24 --dport 80 -j DNAT --to
> >> target:port Should work without reasonable impact on the load...
> >>
> >
> > hmm.. ok im no iptables whiz but i will try this syntax... i have to
eliminate nat since they are all public ip addresses.. i suspect maybe
something like this might work in our saved rules file? (gentoo)
>
> You will need NAT - as this will translate the destination...
>
>
> > i suspect maybe this may need to be changed..
> >
> > -A RH-Firewall-1-INPUT PREROUTING -d 64.113.34.0/24 --dport 80 [dont know
what to do with -j here] --to 64.113.34.0/24:7080
>
> Basically "PREROUTING" is another chain than the one you are using - so,
> I suggest:
> iptables -t nat -A PREROUTING -p tcp -d 64.113.34.0/24 --dport 80 -j
> DNAT --to :7080
>
> This will redirect every traffic to 64.113.34.0/24:80 to the same ip as
> the orginal paket but going to port 7080.
>
> If you want to stuff everything into one vServer with one IP, just
> repace the target with
> -j DNAT --to vserversip:port
>
> HTH
>
> Oliver
>
> PS: if you have problems revealing private data write PM, or join
> #vserver - will be there shortly as oliwel
> --
> Diese Nachricht wurde digital unterschrieben
> oliwel's public key: http://www.oliwel.de/oliwel.crt
> Basiszertifikat: http://www.ldv.ei.tum.de/page72
>

-- 
Chuck
"...and the hordes of M$*ft users descended upon me in their anger,
and asked 'Why do you not get the viruses or the BlueScreensOfDeath
or insecure system troubles and slowness or pay through the nose 
for an OS as *we* do?!!', and I answered...'I use Linux'. "
The Book of John, chapter 1, page 1, and end of book
_______________________________________________
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver
Received on Thu Apr 6 15:51:13 2006
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Thu 06 Apr 2006 - 15:51:16 BST by hypermail 2.1.8