tun.4 (166497) | tun.4 (166499) |
---|---|
1.\" $NetBSD: tun.4,v 1.1 1996/06/25 22:17:37 pk Exp $ | 1.\" $NetBSD: tun.4,v 1.1 1996/06/25 22:17:37 pk Exp $ |
2.\" $FreeBSD: head/share/man/man4/tun.4 166497 2007-02-04 16:32:46Z bms $ | 2.\" $FreeBSD: head/share/man/man4/tun.4 166499 2007-02-04 16:59:50Z bms $ |
3.\" Based on PR#2411 4.\" 5.Dd February 4, 2007 6.Dt TUN 4 7.Os 8.Sh NAME 9.Nm tun 10.Nd tunnel software network interface --- 33 unchanged lines hidden (view full) --- 44.Pa if_tun.ko 45module is unloaded, or until removed with the 46.Xr ifconfig 8 47command. 48.Pp 49.Nm 50devices are created using interface cloning. 51This is done using the | 3.\" Based on PR#2411 4.\" 5.Dd February 4, 2007 6.Dt TUN 4 7.Os 8.Sh NAME 9.Nm tun 10.Nd tunnel software network interface --- 33 unchanged lines hidden (view full) --- 44.Pa if_tun.ko 45module is unloaded, or until removed with the 46.Xr ifconfig 8 47command. 48.Pp 49.Nm 50devices are created using interface cloning. 51This is done using the |
52.Dq ifconfig tap Ns Sy N No create | 52.Dq ifconfig tun Ns Sy N No create |
53command. 54This is the preferred method of creating 55.Nm 56devices. 57The same method allows removal of interfaces. 58For this, use the | 53command. 54This is the preferred method of creating 55.Nm 56devices. 57The same method allows removal of interfaces. 58For this, use the |
59.Dq ifconfig tap Ns Sy N No destroy | 59.Dq ifconfig tun Ns Sy N No destroy |
60command. 61.Pp 62If the 63.Xr sysctl 8 64variable 65.Va net.link.tun.devfs_cloning 66is non-zero, the 67.Nm --- 246 unchanged lines hidden --- | 60command. 61.Pp 62If the 63.Xr sysctl 8 64variable 65.Va net.link.tun.devfs_cloning 66is non-zero, the 67.Nm --- 246 unchanged lines hidden --- |