ANYTUN-CONTROLD(8)
anytun-controld ๐ the anycast tunneling control daemon
okay bestie, sit down, hydrate, because this is the anytun-controld(8) manual page and it's lowkey iconic. this is the daemon that keeps all your Anytun servers on the same page. she's the group chat admin of the tunneling world. periodt. ๐
โจ SYNOPSIS โจ
anytun-controld
[ -h|--help ]
[ -D|--nodaemonize ]
[ -u|--username <username> ]
[ -g|--groupname <groupname> ]
[ -C|--chroot <path> ]
[ -P|--write-pid <filename> ]
[ -L|--log <target>:<level>[,<param1>[,<param2>[..]]] ]
[ -U|--debug ]
[ -f|--file <path> ]
[ -X|--control-host < <host>[:port>] | :<port> > ]
๐ธ DESCRIPTION ๐ธ
so anytun-controld is the one that sets up the multi-connection support for Anytun. that's her whole job, that's her whole personality. ๐
here's the vibe: she reads a connection/routing table and then outputs it via a tcp socket to all the connected Anytun servers. all of them. she's broadcasting, she's the main character. ๐ฃ
and the cute part? when the control daemon gets restarted with a new connection/routing table, all the Anytun servers automatically load the new configuration. no manual labor. she just handles it. slay. โจ
๐จ bestie, REAL TALK: please make sure to protect that information, because it contains the connection keys. protect it like you protect your phone password. no cap. ๐
๐ OPTIONS ๐
-D,--nodaemonizeโ this tellsanytun-controldto run in the foreground instead of becoming a daemon. and becoming a daemon is the default, so this is you saying "no bestie, stay here with me, don't ghost." ๐ซถ-u,--username <username>โ run as this user. if no group is specified (-g), the default group of the user gets used. the default is to not drop privileges at all. so by default she keeps her power. ๐-g,--groupname <groupname>โ run as this group. but heads up: if no username is specified (-u), this gets ignored. literally just ignored. the default is to not drop privileges.-C,--chroot <path>โ instructanytun-controldto run in a chroot jail. the default is to not run in chroot. so she's free-range by default, this option is the enclosure. ๐-P,--write-pid <filename>โ instructanytun-controldto write its pid to this file. the default is to not create a pid file. no receipts by default, iykyk.-L,--log <target>:<level>[,<param1>[,<param2>[..]]]โ add a log target to the logging system. you can invoke this several times to log to different targets at the same time, because she's multitalented. ๐ every target has its own log level, which is a number between0and5. where0means disabling log and5means debug messages are enabled. so 0 is "girl, silence" and 5 is "tell me EVERYTHING." ๐ญ
the file target can be used more than once with different levels. if no target is provided at the command line, a single target with the config syslog:3,anytun-controld,daemon is added. so that's your default bestie right there.
the following targets are supported:
syslogโ log to syslog daemon, parameters<level>[,<logname>[,<facility>]]fileโ log to file, parameters<level>[,<path>]stdoutโ log to standard output, parameters<level>stderrโ log to standard error, parameters<level>
-U,--debugโ this option instructs Anytun to run in debug mode. it implicits-D(don't daemonize) and adds a log target with the configurationstdout:5(logging with maximum level). in future releases there might be additional output when this option is supplied. so like, currently she's giving what she's giving, but there's more coming. ๐ฎ-f,--file <path>โ the path to the file which holds the sync information. that's it, that's the tea. ๐-X,--control-host <hostname|ip>[:<port>]โ fetch the config from this host. the default is not to use a control host and therefore this is empty. mind that the port can be omitted, in which case port2323is used. ๐
and listen, if you want to specify an ipv6 address and a port, you have to use [ and ] to separate the address from the port, eg.: [::1]:1234. if you want to use the default port, [ and ] can be omitted. don't skip this part, the brackets are load-bearing fr fr. ๐ฆ
๐ญ BUGS ๐ญ
most likely there are some bugs in Anytun. she's not perfect, nobody is. if you find a bug, please let the developers know at satp@anytun.org. and of course, patches are preferred. so if you can fix it yourself, you're literally the moment. ๐
๐ฆ SEE ALSO ๐ฆ
anytun(8), anytun-config(8), anytun-showtables(8)
go read those too, they're her friends. โจ
๐ซถ AUTHORS ๐ซถ
Othmar Gsenger <otti@anytun.org> Erwin Nindl <nine@anytun.org> Christian Pointner <equinox@anytun.org>
๐ RESOURCES ๐
Main web site: http://www.anytun.org/
๐ COPYING ๐
Copyright (C) 2007-2014 Markus Grรผneis, Othmar Gsenger, Erwin Nindl and Christian Pointner. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
okay that's the whole page, you ate that. ๐ this version of the page is dated 01/06/2020, and it lives in the ANYTUN-CONTROLD(8) section of the manual. go configure something, bestie. mwah. ๐โจ๐
๐ฆ where this page comes from
- alpine 3.24: anytun-doc 0.3.8-r12 ยท GPL-3.0-or-later
- debian bookworm: anytun 0.3.8-1+b1 ยท GPL-3.0-or-later WITH OpenSSL exception
- debian trixie: anytun 0.3.8-1.1 ยท GPL-3.0-or-later WITH OpenSSL exception
- ubuntu jammy: anytun 0.3.8-1fakesync1 ยท GPL-3.0-or-later WITH OpenSSL exception
- ubuntu noble: anytun 0.3.8-1fakesync1build1 ยท GPL-3.0-or-later WITH OpenSSL exception
- ubuntu resolute: anytun 0.3.8-1.1fakesync1build1 ยท GPL-3.0-or-later WITH OpenSSL exception
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms