I've been trying to finagle pytun to do my bidding in creating persistent ssh tunnels, but I very much do not want these to be owned by root and unless I modify the python package myself (which as a responsible person, I probably should) I can't use it to create a persistent SSH tunnel (unless I ssh as root), there's no notion of "ownership" exposed by the package.
What I want to do is either:
- Create a tun interface using pytun ran as a non-root user and have it owned by that user in the first place.
- Create the tun interface as root using pytun and then change ownership somehow. (from the help of 'ip tuntap help' I don't think this is easy)