[OpenIndiana-discuss] Plumbing tun0 in a non-global zone

Thomas Wagner tom-oi-discuss at tom.bn-ulm.de
Thu Mar 10 16:18:11 UTC 2016


you have entries for tun and tap in /etc/name_to_major?

and the modules actually do load?

example:
modinfo  | egrep "  tun|  tap"
277 fffffffff8ba0000   2de8 227   1  tun (TUN/TAP driver 1.1.0 12/23/2013)
288 fffffffff8bfd000   3528 290   1  tap (TUN/TAP driver 1.1.0 12/23/2013)

In my openvpn setup I have no extra plumbing, openvpn does it for me IIRC.

in the config file:
dev tun
tun-mtu 1400   (because running over a mtu 1492 ADSL line)

Regards,
Thomas

On Thu, Mar 10, 2016 at 03:45:43PM +0000, Jonathan Adams wrote:
> I know I've done this before, I just can't find it anywhere.
> 
> I have a zone with OpenVPN in it, that needs to plumb tun0.
> 
> I've added the "match" for the tun device to the global zone, I've
> installed tuntap in the zone and the global zone ...
> 
> I have a suspicion that I need to set something in "limitpriv" to allow the
> ability to plumb/unplumb interfaces in the zone, but I can't for the life
> of me remember the specifics.
> 
> Does anyone do this, can they remind me how to do it?
> 
> Thanks
> 
> Jon
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
> 




More information about the openindiana-discuss mailing list