VTUND(8)
π VTUND β the VTun (Virtual Tunnel) daemon, bestie edition π
okay so real quick β this is vtund(8) from the System Manager's Manual, and she is the queen of virtual tunnels. sit down, grab a strawberry π, and let's get into it.
β¨ NAME β¨
vtund β the VTun (Virtual Tunnel) daemon. that's it, that's the girl. π
π SYNOPSIS π
vtund < -s > { -4|-6 } [ -i ] [ -n ] [ -f file ] [ -P port ]
vtund { -4|-6 } [ -f file ] [ -P port ] [ -p ] [ -q ] [ -m ] [ -t
timeout ] [ -n ] < session > < server address >
like, two whole modes. server mode and client mode. pick your fighter. π₯
π¦ DESCRIPTION π¦
VTun is literally the method for creating Virtual Tunnels over TCP/IP networks, and it lets you shape, compress, and encrypt traffic inside those tunnels. no cap. π«Ά
the supported types of tunnels are: PPP, IP, Ethernet, and most of the other serial protocols and programs. the range?? unmatched. β¨
VTun is easily and highly configurable β it can be used for sooo many network tasks like VPN, Mobile IP, Shaped Internet access, IP address saving, etc. main character energy fr fr.
and the best part?? it is completely a user space implementation and does not require modification to any kernel parts. not a single kernel touched. we love a low-maintenance icon. π
π OPTIONS π
-4β use IPv4 for transport, and for the listening socket. this is the default choice, bestie. but listen β any of the addressing modes, IPv4 or IPv6, can be passed inside the tunnel. the decision to use either one is made by theifconfigandipcommands. iykyk. πΈ-6β choose IPv6 as the transport layer, and as the server listening socket. β¨-ffileβ read config information from thefile(full path required, okay?? no shortcuts). by defaultvtunduses/etc/vtund.conf. π-nβ do not become daemon (required on no-MMU systems). stay in the foreground, girl. π
π Server mode π
-sβ run as the server (not available on no-MMU systems). π-iβ run as the inetd server.-Pportβ listen for connection on the specifiedport. by defaultvtundlistens on TCP port5000. this option is equivalent to the'port'option of the config file. π₯
π§ Client mode π§
-Pportβ connect to the server on the specifiedport. by defaultvtundconnects to TCP port5000. this option is equivalent to the'port'option of the config file. (yes, same flag, different mode, she contains multitudes π)-pβ reconnect to the server after connection termination. by defaultvtundwill exit if the connection has been terminated. this option is equivalent to the'persist'option of the config file. never give up, never surrender π«Ά-qβ inhibit the printing of connection messages. shhh. π€«-mβ force memory pages to be locked memory-resident to prevent potential VM deadlock. useful with NFS traffic. this option has no config file equivalent. β-ttimeoutβ connect timeout. default is 30 seconds. this option is equivalent to the'timeout'option of the config file. β°sessionβ session name from the config file. πserverβ address of the server to connect to. either an IP address or a domain name can be specified. π
π FILES π
/etc/vtund.confβ the main configuration file with sessions and other information. see thevtund.confexample provided with the distribution andvtund.conf(5)for more information. π/var/lock/vtund/β session lock files. π/var/log/vtund/β connection statistic log files. the format is:
Date Uncomp_In Uncomp_Out Comp_In Comp_Out
β‘ SIGNALS β‘
SIGHUPβ in server mode: causesvtundto reread the config file. in client mode: causesvtundto reestablish the connection. glow-up on demand β¨SIGUSR1β this signal causesvtundto reset statistic counters. fresh start, clean slate, we love to see it π
πΈ SEE ALSO πΈ
π NOTES π
this product includes software developed by the OpenSSL Project for use in the OpenSSL Toolkit. (http://www.openssl.org/) β legal girlies stay winning, don't skip this part fr fr.
π AUTHORS π
Maxim Krasnyansky <max_mk@yahoo.com> β the og, the blueprint, the moment. π«Ά
and that's the whole page, bestie!! π this was vtund(8) from the System Manager's Manual β same page, same manual, forever and always, no matter how cute we made it. mwah πβ¨
π¦ where this page comes from
- debian bookworm: vtun 3.0.4-2+b1
- ubuntu jammy: vtun 3.0.4-2build1
- ubuntu jammy: vtun 3.0.4-2ubuntu0.22.04.1
- ubuntu noble: vtun 3.0.4-2ubuntu3
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms