3 vde_tunctl \(em create and manage persistent TUN/TAP interfaces
6 \fBvde_tunctl\fR [\fB-f\fP \fItun-clone-device\fR] [\fB-u\fP \fIowner\fR] [\fB-t\fP \fIdevice-name\fR]
8 \fBvde_tunctl\fR [\fB-f\fP \fItun-clone-device\fR] \fB-d\fP \fIdevice-name\fR
11 \fBvde_tunctl\fR allows the host sysadmin to
12 preconfigure a TUN/TAP device for use by a particular user. That
13 user may open and use the device, but may not change any aspects
14 of the host side of the interface.
16 vde_tunctl is a simple copy of \fBtunctl\fR done for practical purposes.
19 To create an interface for use by a particular user, invoke
20 tunctl without the \-d option:
23 # \fBvde_tunctl \-u someuser\fP
24 Set 'tap0' persistent and owned by uid 500
28 Then, configure the interface as normal:
31 # \fBifconfig tap0 192.168.0.254 up\fP
32 # \fBroute add \-host 192.168.0.253 dev tap0\fP
33 # \fBbash \-c 'echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp'\fP
34 # \fBarp \-Ds 192.168.0.253 eth0 pub\fP
37 To delete the interface, use the \-d option:
40 # \fBvde_tunctl \-d tap0\fP
41 Set 'tap0' nonpersistent
50 tunctl was written by Jeff Dike jdike@karaya.com
52 This manual page is based on tunctl manual page written by Matt Zimmerman mdz@debian.org for
53 the \fBDebian GNU/Linux\fP system.