VTUND(8)

πŸ“¦ version 3.0.4, in debian bookworm, ubuntu jammy, ubuntu noble

πŸ’– 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 the ifconfig and ip commands. iykyk. 🌸
  • -6 β€” choose IPv6 as the transport layer, and as the server listening socket. ✨
  • -f file β€” read config information from the file (full path required, okay?? no shortcuts). by default vtund uses /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.
  • -P port β€” listen for connection on the specified port. by default vtund listens on TCP port 5000. this option is equivalent to the 'port' option of the config file. πŸ”₯

🧚 Client mode 🧚

  • -P port β€” connect to the server on the specified port. by default vtund connects to TCP port 5000. 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 default vtund will 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. ⭐
  • -t timeout β€” 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 the vtund.conf example provided with the distribution and vtund.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: causes vtund to reread the config file. in client mode: causes vtund to reestablish the connection. glow-up on demand ✨
  • SIGUSR1 β€” this signal causes vtund to 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