← 返回命令列表

Linux command

fastd 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Start fastd with config

fastd --config [/etc/fastd/fastd.conf]

Generate key pair

fastd --generate-key

Show public key from secret

fastd --show-key --secret [secret.key]

Start in foreground

fastd --config [config] --log-level debug

Verify configuration

fastd --verify-config --config [config]

Run as daemon

fastd --config [config] --daemon --pid-file [/var/run/fastd.pid]

说明

fastd is a fast and secure VPN daemon designed for building mesh networks and tunneling traffic. It's commonly used in Freifunk community wireless networks to create encrypted mesh topologies. The tool supports multiple encryption methods and is optimized for low-latency, high-performance VPN connections. It uses UDP for transport and supports various authentication and encryption ciphers. Configuration defines peers, network interfaces, and security parameters.

参数

--config _file_
Configuration file path.
--generate-key
Generate new key pair.
--show-key
Show public key.
--secret _file_
Secret key file.
--log-level _level_
Log level (fatal, error, warn, info, verbose, debug).
--verify-config
Verify configuration syntax.
--daemon
Run as daemon.
--pid-file _file_
Write PID to file.
--user _user_
Drop privileges to specified user.
--interface _name_
TUN/TAP interface name.

FAQ

What is the fastd command used for?

fastd is a fast and secure VPN daemon designed for building mesh networks and tunneling traffic. It's commonly used in Freifunk community wireless networks to create encrypted mesh topologies. The tool supports multiple encryption methods and is optimized for low-latency, high-performance VPN connections. It uses UDP for transport and supports various authentication and encryption ciphers. Configuration defines peers, network interfaces, and security parameters.

How do I run a basic fastd example?

Run `fastd --config [/etc/fastd/fastd.conf]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --config _file_ do in fastd?

Configuration file path.