Re: OpenVPN, tap interface and bridge

2015-11-03 Thread Adam Wysocki
Stuart Henderson wrote: > On 5.8 and earlier: > > # ifconfig tun1 link0 > > Then you'll be able to add it to the bridge. Thanks Giancarlo and Stuart! That solved it. > On -current (and will be the case for 5.9), use e.g. 'dev tap1' instead > (and add tap1 to the bridge interface). I'll keep

Re: OpenVPN, tap interface and bridge

2015-11-02 Thread Stuart Henderson
On 2015-11-02, Adam Wysocki wrote: > Hi, > > I have an OpenVPN server running on OpenBSD. I use tunX interface in tap > mode (as far as I know, it's the OpenBSD equivalent of tapX interface from > Linux, so it should be bridgeable): > > dev tun1 > dev-typetap > > No IP is assig

Re: OpenVPN, tap interface and bridge

2015-11-02 Thread Giancarlo Razzolini
Em 02-11-2015 17:10, Adam Wysocki escreveu: > OpenVPN is running and ifconfig looks like that: > > tun1: flags=8051 mtu 1500 > priority: 0 > groups: tun > status: active >From tun(4) man page: Both layer 3 and layer 2 tunneling is supported; layer 3 tunneling is the

Re: OpenVPN, tap interface and bridge

2015-11-02 Thread Adam Wysocki
Dag Richards wrote: > I run OpenVPN on a pair of carped up gateways With bridge between OpenVPN interface and other interfaces? > What are you trying to achieve with this very odd sounding config. > There may be a more straightforward way to get there. Ok, so I'll tell exactly what I want

Re: OpenVPN, tap interface and bridge

2015-11-02 Thread Dag Richards
I run OpenVPN on a pair of carped up gateways What are you trying to achieve with this very odd sounding config. There may be a more straightforward way to get there. Adam Wysocki wrote: Hi, I have an OpenVPN server running on OpenBSD. I use tunX interface in tap mode (as far as I know,

OpenVPN, tap interface and bridge

2015-11-02 Thread Adam Wysocki
Hi, I have an OpenVPN server running on OpenBSD. I use tunX interface in tap mode (as far as I know, it's the OpenBSD equivalent of tapX interface from Linux, so it should be bridgeable): dev tun1 dev-typetap No IP is assigned to this interface, because I want to bridge two O