MIREDO(8)
π MIREDO π
section 8, System Manager's Manual β bestie, this is the Teredo IPv6 tunneling girlie for Unix, and she is ready to serve.
β¨ SYNOPSIS β¨
miredo [-c config_file] [-f] [-u user] [ -t chrootdir] [server_name]
π¦ DESCRIPTION π¦
Miredo is a daemon program, okay, and what she does is provide a Teredo tunnel service that's compatible with the "Teredo: Tunneling IPv6 over UDP through NATs" Internet proposed standard, aka RFC 4380. She can do Teredo client duty or Teredo relay duty. Versatile queen π
Why do we even care? Because this is mostly useful for giving IPv6 connectivity to users stuck behind a NAT, and most NATs don't support IPv6 at all. And it gets worse β many NATs don't even support proto-41 forwarding, so you literally cannot set up a 6to4 or a point-to-point IPv6-over-IPv4 tunnel through them. The NAT said no. So we go around. π§
So like, the three roles, let me break it down:
- A Teredo relay is an IPv6 router which forwards IPv6 packets between the IPv6 Internet and Teredo clients by encapsulating those IPv6 packets over UDP/IPv4.
- A Teredo client is an IPv6-enabled host which is located behind an IPv4-only Network Address Translator (a.k.a. NAT β you knew that, iykyk), and it encapsulates its IPv6 traffic inside UDP over IPv4 packets.
- A Teredo server is a special Teredo relay which is required for Teredo clients to set up their IPv6 connectivity through Teredo. A Teredo server must have to global static subsequent IPv4 addresses. It receives packets from Teredo clients and Teredo relays on UDP port 3544. π¬
π OPTIONS π
-c config_fileor--config config_fileβ Specify an alternate configuration file for Miredo instead of the default,/etc/miredo/miredo.conf. Not feeling the default vibe? Swap it out. β¨-for--foregroundβ Do not detach from the console. Run the program in the foreground. Main character energy, stays in the group chat. π«Ά-hor--helpβ Display some help and exit.-tor--chrootdirβ Specify a directory to use as a root after initialization is completed. When used as a Teredo client, the hostname resolver library files must be present in the chroot. The directory can safely be left empty for a Teredo relay. So relay girlies can leave it empty, client girlies gotta pack their resolver files. π-u usernameor--user usernameβ Override the user that the program will run as. By default, it runs asnobody. Yes, literally nobody. π-Vor--versionβ Display program version and license and exit.server_nameβ This optional command argument specifies a Teredo server to use. It will override anyServerAddressdirective found in the configuration file. It is ignored ifRelayTypeis not set to"client"(seemiredo.conf). So if you're not in client mode, she's not listening, bestie. π
π SECURITY π
Miredo requires root privileges to create her IPv6 tunneling network interface, and to set it up properly. Once her initialization is complete, she will setgid, chroot into an empty directory and ultimately setuid (see option -u), so as to decrease the system's exposure to potential security issues. Locked down, periodt. π
However β and this is the part where you listen β if Miredo runs as a Teredo client, it needs root privileges when running, in order to change the tunneling network interface settings automatically. To prevent possible root compromise, Miredo implements privileges separation. The process that handles data from the network is not privileged. So the network-facing part is just a little guy. π₯Ί
While that is not specific to nor dependent on Miredo, it should be noted that Teredo connectivity allows anyone behind a NAT to obtain global public IPv6 connectivity. It might break some corporate policy. If that is an issue, outgoing UDP packets with destination port 3544 should be blocked at the perimeter firewall.
Not to be dramatic but that's kind of a big deal, so like, talk to your network admin before you get in trouble. π
πΈ SIGNALS πΈ
SIGHUPβ Force a reload of the daemon. Refresh her. β¨SIGINT,SIGTERMβ Shutdown the daemon. Bye bestie πSIGUSR1,SIGUSR2β Do nothing, might be used in future versions. They're just chilling. Doing nothing. Iconic, honestly. π
π FILES π
/etc/miredo/miredo.confβ The default configuration file. Her home base π/var/run/miredo.pidβ The process-id file.
π SEE ALSO π
miredo.conf(5), miredo-server(8), ipv6(7), route(8), ip(8)
Go read the whole friend group, they all ate. π
π AUTHOR π
RΓ©mi Denis-Courmont <remi at remlab dot net>
and that's the whole page, bestie π this was the miredo manual page, section 8, dated February 2008. tysm for reading, no cap, you're gonna tunnel so good π¦β¨
π¦ where this page comes from
- debian bookworm: miredo 1.2.6-7.1+b2 Β· GPL-2.0-or-later
- debian trixie: miredo 1.2.6-7.2 Β· GPL-2.0-or-later
- ubuntu jammy: miredo 1.2.6-7.1 Β· GPL-2.0-or-later
- ubuntu noble: miredo 1.2.6-7.1 Β· GPL-2.0-or-later
- ubuntu questing: miredo 1.2.6-7.2
- ubuntu resolute: miredo 1.2.6-7.2build1 Β· GPL-2.0-or-later
- Copyright Β© 2004-2007 RΓ©mi Denis-Courmont
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms