On Sun, Apr 24, 2016 at 03:39:58AM +0100, niya levi wrote: > hi everyone > i am trying to setup openvpn with tun on a bridge (openbsd 5.9), > i tried the following but got an Invalid argument error, > > ifconfig tun0 create > ifconfig bridge0 create > ifconfig bridge0 add em0 > ifconfig bridge0 add tun0 > ifconfig: bridge0: tun0: Invalid argument > > what is the correct way to add the tun interface to the bridge ?
You need to use the tap(4) interface in 5.9 to get a Ethernet tunneling device. tun(4) is now Layer 3 only. -- :wq Claudio

