summaryrefslogtreecommitdiffstats
path: root/rc.inet1.conf
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2017-03-09 16:14:46 -0600
committerRobby Workman <rworkman@slackware.com>2017-07-12 02:26:58 -0500
commit30f1fdd36559899dcd53d0620b1a0c4e7cebdc29 (patch)
treebd758cc4e0359d3e8132ff1a2b4e81df123dda1f /rc.inet1.conf
parent7908176c86e99f57d6fb85593606e23201e8a7b4 (diff)
downloadslacknetsetup-30f1fdd36559899dcd53d0620b1a0c4e7cebdc29.tar.xz
rc.inet1{,.conf}: Allow create/destroy of virtual tun/tap devices
Diffstat (limited to 'rc.inet1.conf')
-rw-r--r--rc.inet1.conf17
1 files changed, 17 insertions, 0 deletions
diff --git a/rc.inet1.conf b/rc.inet1.conf
index 85a8041..93b3e6c 100644
--- a/rc.inet1.conf
+++ b/rc.inet1.conf
@@ -55,6 +55,23 @@ DEBUG_ETH_UP="no"
#USE_DHCP[0]=""
#DHCP_HOSTNAME[0]=""
+# Virtual interfaces to create - these are created before any address
+# configuration or bridge setup is done, so you may use these interfaces
+# as IFNAME or BRNICS values. These can be tun or tap interfaces:
+# adjust VIRTIFNAME and VIRTIFTYPE accordingly
+#
+# Virtual tap interface example
+#VIRTIFNAME[0]="tap0"
+#VIRTIFTYPE[0]="tap"
+#VIRTIFUSER[0]="root"
+#VIRTIFGROUP[0]="root"
+#
+# Virtual tun interface example
+#VIRTIFNAME[1]="tun0"
+#VIRTIFTYPE[1]="tun"
+#VIRTIFUSER[1]="someuser"
+#VIRTIFGROUP[1]="somegroup"
+
## Example config information for wlan0. Uncomment the lines you need and fill
## in your data. (You may not need all of these for your wireless network)
#IFNAME[4]="wlan0"