On 24.04.2016 04:39, 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 ? > > shadrock >
Hi I think what you need is a tap device, not a tun device. Prior to 5.9, you could use a tun device and set the link0 flag, but that was changed in 5.9. -- Unix _IS_ user friendly - it's just selective about who its friends are!