tun.4 (256281) | tun.4 (276433) |
---|---|
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: stable/10/share/man/man4/tun.4 166499 2007-02-04 16:59:50Z bms $ | 2.\" $FreeBSD: stable/10/share/man/man4/tun.4 276433 2014-12-30 23:52:48Z peterj $ |
3.\" Based on PR#2411 4.\" | 3.\" Based on PR#2411 4.\" |
5.Dd February 4, 2007 | 5.Dd November 30, 2014 |
6.Dt TUN 4 7.Os 8.Sh NAME 9.Nm tun 10.Nd tunnel software network interface 11.Sh SYNOPSIS 12.Cd device tun 13.Sh DESCRIPTION --- 16 unchanged lines hidden (view full) --- 30it is simulating 31(a network interface in the case of 32.Nm , 33or a terminal for 34.Xr pty 4 ) , 35and a character-special device 36.Dq control 37interface. | 6.Dt TUN 4 7.Os 8.Sh NAME 9.Nm tun 10.Nd tunnel software network interface 11.Sh SYNOPSIS 12.Cd device tun 13.Sh DESCRIPTION --- 16 unchanged lines hidden (view full) --- 30it is simulating 31(a network interface in the case of 32.Nm , 33or a terminal for 34.Xr pty 4 ) , 35and a character-special device 36.Dq control 37interface. |
38A client program transfers IP (by default) packets to or from the 39.Nm 40.Dq control 41interface. 42The 43.Xr tap 4 44interface provides similar functionality at the Ethernet layer: 45a client will transfer Ethernet frames to or from a 46.Xr tap 4 47.Dq control 48interface. |
|
38.Pp 39The network interfaces are named 40.Dq Li tun0 , 41.Dq Li tun1 , 42etc., one for each control device that has been opened. 43These network interfaces persist until the 44.Pa if_tun.ko 45module is unloaded, or until removed with the --- 256 unchanged lines hidden (view full) --- 302.Xr ioctl 2 , 303.Xr read 2 , 304.Xr select 2 , 305.Xr write 2 , 306.Xr devname 3 , 307.Xr inet 4 , 308.Xr intro 4 , 309.Xr pty 4 , | 49.Pp 50The network interfaces are named 51.Dq Li tun0 , 52.Dq Li tun1 , 53etc., one for each control device that has been opened. 54These network interfaces persist until the 55.Pa if_tun.ko 56module is unloaded, or until removed with the --- 256 unchanged lines hidden (view full) --- 313.Xr ioctl 2 , 314.Xr read 2 , 315.Xr select 2 , 316.Xr write 2 , 317.Xr devname 3 , 318.Xr inet 4 , 319.Xr intro 4 , 320.Xr pty 4 , |
321.Xr tap 4 , |
|
310.Xr ifconfig 8 311.Sh AUTHORS 312This manual page was originally obtained from 313.Nx . | 322.Xr ifconfig 8 323.Sh AUTHORS 324This manual page was originally obtained from 325.Nx . |