From: Wolfgang Rest (webmaster_at_hackenschmiede.com)
Date: Thu 06 Feb 2003 - 16:24:09 GMT
sorry guys, was a kernel problem.
i installed kernel-2.4.20ctx-16 and now it works.
does anyone have a patched redhat kernel-2.4.18-24.7.x.i686.rpm
or a patch?
best regards
Wolfgang Rest
-----Ursprüngliche Nachricht-----
Von: Luís Miguel Silva [mailto:lms_at_ispgaya.pt]
Gesendet: Freitag, 01. November 2002 14:43
An: vserver_at_solucorp.qc.ca
Betreff: RE: [vserver] How can I access the internet from a vserver?
I had the same problem you did.
I was only able to resolve it by allowing FORWARDING and SNAT'ting the
connections made from the vservers to a external IP.
Try it:
iptables -A POSTROUTING -t nat -s insert.vserver.ip.here -d 0/0 -j SNAT --to
insert.internet.ip.here
Regards,
+-----------------------------------------
| Luís Miguel Silva
| Network Administrator@ ISPGaya.pt
| Rua António Rodrigues da Rocha, 291/341
| Sto. Ovídio • 4400-025 V. N. de Gaia
| Portugal
| T: +351 22 3745730/3/5 F: +351 22 3745738
| G: +351 93 6371253 E: lms_at_ispgaya.pt
| H: http://lms.ispgaya.pt/
+-----------------------------------------
-----Mensagem original-----
De: Debby [mailto:debby_at_aachenconsulting.de]
Enviada: quinta-feira, 6 de Fevereiro de 2003 12:22
Para: vserver_at_solucorp.qc.ca
Assunto: [vserver] How can I access the internet from a vserver?
How can I access the internet and intranet from inside a vserver?
Here is the setting:
Internet (IN) <--> (hardware) Router (R) <--> 2 PCs (A,B)
-> Installed on PC 'A' is Woody (unstable) (IP 192.168.0.10) with one
vserver ('V') also with Woody (unstable) (IP 192.168.0.23).
-> Installed on PC 'B' is Woody (stable) (IP 192.168.0.20).
-> The gateway/router has the IP 192.168.0.1.
What I would like is to access the internet and PC 'A' and 'B' from the
vserver. Whatever I do it is not possible. I tried to change the
routing-table etc. To update the vserver I have to give it the same IP as PC
'A' ('*.10*') and change it back to '*.23' later using 'vserver V start /
stop' in this context. Also I would like to access the vserver from the
outside - from PC 'A' and 'B' (e.g. apache, mail, ...). Do I need to do
something like: Internet (IN) <--> (hardware) Router (R) <--> NAT/MASQ on
PC
(A) <--> vserver (V)?
Also I am intersted in knowing if it is possible to run KDE on PC 'A' and
GNOME on the vserver 'V' with them showing up on different consols. Is it at
all possible to run X on the main server and on the vserver(s)? What about
two or more vserver running X-applications ...?
Thanks a lot,
Debby