GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
VDE_TUNCTL(8) FreeBSD System Manager's Manual VDE_TUNCTL(8)

vde_tunctl — create and manage persistent TUN/TAP interfaces

vde_tunctl [-f tun-clone-device] [-u owner] [-t device-name]

vde_tunctl [-f tun-clone-device] -d device-name

vde_tunctl allows the host sysadmin to preconfigure a TUN/TAP device for use by a particular user. That user may open and use the device, but may not change any aspects of the host side of the interface.

vde_tunctl is a simple copy of tunctl done for practical purposes.

To create an interface for use by a particular user, invoke tunctl without the -d option:

# vde_tunctl -u someuser  
Set 'tap0' persistent and owned by uid 500 
 

Then, configure the interface as normal:

# ifconfig tap0 192.168.0.254 up  
# route add -host 192.168.0.253 dev tap0  
# bash -c 'echo 1 > /proc/sys/net/ipv4/conf/tap0/proxy_arp'  
# arp -Ds 192.168.0.253 eth0 pub        

To delete the interface, use the -d option:

# vde_tunctl -d tap0  
Set 'tap0' nonpersistent 
 

vde_switch(1) vde_plug2tap(1)

tunctl was written by Jeff Dike jdike@karaya.com

This manual page is based on tunctl manual page written by Matt Zimmerman mdz@debian.org for the Debian GNU/Linux system.


Search for    or go to Top of page |  Section 8 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.