[Vserver] vpnc on vserver guest

2007-07-06 Thread Randall Smith
I'm trying to give access to a Cisco vpn to a vserver guest, either 
directly by launching vpnc or indirectly through the host running vpnc.


The problem with launching vpnc on the guest is that it can't create the 
tun interface.  I'm not sure why traffic doesn't forward between the 
guest and host.  I'm guessing it's because the guest doesn't see the tun 
interface that vpnc creates.


Either way would be nice.  Any pointers?

Randall

___
Vserver mailing list
Vserver@list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver


Re: [Vserver] vpnc on vserver guest

2007-07-06 Thread Herbert Poetzl
On Fri, Jul 06, 2007 at 12:55:53PM -0500, Randall Smith wrote:
 I'm trying to give access to a Cisco vpn to a vserver guest, either 
 directly by launching vpnc or indirectly through the host running vpnc.
 
 The problem with launching vpnc on the guest is that it can't create the 
 tun interface.  I'm not sure why traffic doesn't forward between the 
 guest and host.  I'm guessing it's because the guest doesn't see the tun 
 interface that vpnc creates.
 
 Either way would be nice.  Any pointers?

create the tun interface on the host (make sure it is
the proper type -- tun vs. tap) and make it persistent,
then start the guest and let the vpnc use the persistent
tun device (after assigning the proper ip to the guest)

(works with openvpn and friends)

HTH,
Herbert

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