[PVE-User] openvpn + kvm (or openvz)

jgr notmyfirsttry001 at gmail.com
Tue Oct 11 12:12:49 CEST 2011


Thanks for the pointers, the weird thing is that the particular
openvpn-setup works w/o any issues on a hw box, as soon as I
apply it in a KVM/container it doesn't.

I have checked firewalls etc, there is none :)

On Tue, 2011-10-11 at 12:04 +0200, Eneko Lacunza wrote:
> Hi Guy,
> 
> We also have OpenVPN working in a KVM machine. I suggest you ask for
> help in an OpenVPN user list as I don't think your problem will be
> related to Proxmox.
> 
> In our experience most problems with users connecting via VPN arise from
> badly configured routes, in the user machine, the vpn-server or the
> servers the vpn-user is trying to access.
> 
> Also check your firewalls.
> 
> Eneko
> 
> El mar, 11-10-2011 a las 11:56 +0200, jgr escribió:
> > Good for you!
> > 
> > I know it's supposed to work, but I am stuck, don't know where to look
> > for answers.
> > 
> > 
> > On Tue, 2011-10-11 at 10:47 +0100, Guy wrote:
> > > well I have openVPN working just fine in proxmox, as a KVM..I installed psfense in a KVM in bridge mode and set up openVPN just fine.
> > > 
> > > Cheers,
> > > --Guy
> > > 
> > > On 11 Oct 2011, at 10:43, jgr wrote:
> > > 
> > > > Hi,
> > > > 
> > > > I've been trying to get openvpn to work in either a container or a kvm
> > > > vm. Neither worked. I am able to get openvpn up and connecting but then
> > > > "nothing happens", i.e nothing gets through to the default gw (via
> > > > openvpn).
> > > > 
> > > > I've followed every guide I could get.
> > > > 
> > > > My setup:
> > > > 
> > > > PVE BOX (bridge1 (no ip, just bridges eth1)) -- (internet)
> > > > KVM/openvz connected to bridge1
> > > > 
> > > > I get a public ip in the vm's from the bridge but when openvpn has
> > > > connected that default route doesn't work.
> > > > 
> > > > Somehow I suspect I have to configure the bridge on the PVE host to
> > > > allow the openvpn traffic through, but thats just my guess.
> > > > 
> > > > Any suggestions is very appreciated.
> > > > 
> > > > _______________________________________________
> > > > pve-user mailing list
> > > > pve-user at pve.proxmox.com
> > > > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> > > 
> > 
> > 
> > _______________________________________________
> > pve-user mailing list
> > pve-user at pve.proxmox.com
> > http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> 





More information about the pve-user mailing list