OpenVPN brdige mode in containter/openvz

higuita

New Member
Feb 20, 2015
2
0
1
Hi
I'm trying to configure a openvpn in bridge mode (https://community.openvpn.net/openvpn/wiki/BridgingAndRouting), using proxmox...
I can do it in a KVM VM, as we have full bridge support there... i can also do the openvpn routing mode in a CT, but i'm having troubles getting it work in bridge mode, as in CT i'm failing to configure a bridge.
The main problem is the bridge creating inside the container, it gives this:

# brctl addbr br0
add bridge failed: Inappropriate ioctl for device

Without the br0 device, all rest will also fail.
So is it possible to setup a bridge inside a container and use it to transport the local network packages? how?

Thanks in advance for the help
higuita
 
Last edited:
Hi
I'm trying to configure a openvpn in bridge mode (https://community.openvpn.net/openvpn/wiki/BridgingAndRouting), using proxmox...
I can do it in a KVM VM, as we have full bridge support there... i can also do the openvpn routing mode in a CT, but i'm having troubles getting it work in bridge mode, as in CT i'm failing to configure a bridge.
The main problem is the bridge creating inside the container, it gives this:

# brctl addbr br0
add bridge failed: Inappropriate ioctl for device

Without the br0 device, all rest will also fail.
So is it possible to setup a bridge inside a container and use it to transport the local network packages? how?

Thanks in advance for the help
higuita
Hi,
AFAIK you can't bridge an bridge with an bridge.
This is the reason, why I use for our openvpn-gateway, which also running in bridge mode, an dedicate small machine.

Perhaps you can do this with openvswitch??

Udo
 
Hi,AFAIK you can't bridge an bridge with an bridge.This is the reason, why I use for our openvpn-gateway, which also running in bridge mode, an dedicate small machine.Perhaps you can do this with openvswitch??Udo
Hello Udo, can openvswitch replace a Layer 3 managed switch for a relatively small network? We have about 12 vlans and 400 IP devices. How easy to use is the interface? we use a Netgear L3 switch . it is powerful, however the switch can do so much it is sometimes hard to find options we really need.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!