tincd without root privileges
Guus Sliepen
guus at tinc-vpn.org
Thu Apr 15 12:04:38 CEST 2010
On Thu, Apr 15, 2010 at 12:57:18AM +0200, pieter.heremans wrote:
> is there a way to run tinc on a (linux) box, with a public ip,
> but on which i don't have root privileges ?
Yes, you start tinc as a normal user or let tinc drop root privileges after
starting with the --user option.
> the server just connects nodes (behind natted firewall) & relays
> their traffic, so no need for tap/tun interface on the box itself.
There are several ways. Either keep the tun/tap device but don't configure it
(tinc can create it if you start it as root with the --user option, or you can
create a static tun/tap interface with the tunctl tool from uml-utils for
example), or you can recompile tinc with a dummy tun/tap driver:
./configure <extra options>
ln -sf dummy/device.c src/
make
--
Met vriendelijke groet / with kind regards,
Guus Sliepen <guus at tinc-vpn.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://www.tinc-vpn.org/pipermail/tinc/attachments/20100415/d6423493/attachment.pgp>
More information about the tinc
mailing list