← 返回命令列表

Linux command

mullvad 命令

文本

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

常用示例

Connect to VPN

mullvad connect

Disconnect from VPN

mullvad disconnect

Check connection status

mullvad status

Set VPN server location

mullvad relay set location [us] [nyc]

List available locations

mullvad relay list

Enable auto-connect on boot

mullvad auto-connect set on

Enable kill switch

mullvad lockdown-mode set on

Check account status

mullvad account get

说明

mullvad is the command-line interface for Mullvad VPN, a privacy-focused VPN service based in Sweden. It controls the Mullvad daemon to manage VPN connections and configuration. The client supports WireGuard and OpenVPN protocols. WireGuard is default and recommended for performance. Server selection can be automatic or manually set by country, city, or specific server. The relay list shows all available endpoints. Lockdown mode (kill switch) blocks all internet traffic when VPN is disconnected, preventing leaks. LAN access can be allowed for local network resources. Split tunneling excludes specific applications from the VPN tunnel. DNS options include using Mullvad's DNS, custom servers, or blocking ads/trackers/malware via their DNS. Obfuscation helps bypass VPN blocking in censored networks. The account system uses numbered tokens rather than email/password. Anonymous payment options include cash and cryptocurrency.

参数

connect
Establish VPN connection.
disconnect
Close VPN connection.
reconnect
Reconnect to VPN.
status
Show current connection status.
account _subcommand_
Manage account (login, logout, get, set).
relay _subcommand_
Configure relay/server selection.
tunnel _subcommand_
Configure tunnel protocol options.
dns _subcommand_
Configure DNS settings.
lockdown-mode _subcommand_
Configure kill switch (block non-VPN traffic).
auto-connect _subcommand_
Configure auto-connect on startup.
lan _subcommand_
Allow/block local network access.
obfuscation _subcommand_
Configure traffic obfuscation.
split-tunnel _subcommand_
Exclude apps from VPN tunnel.
bridge _subcommand_
Configure bridge mode for censored networks.
version
Show version information.

FAQ

What is the mullvad command used for?

mullvad is the command-line interface for Mullvad VPN, a privacy-focused VPN service based in Sweden. It controls the Mullvad daemon to manage VPN connections and configuration. The client supports WireGuard and OpenVPN protocols. WireGuard is default and recommended for performance. Server selection can be automatic or manually set by country, city, or specific server. The relay list shows all available endpoints. Lockdown mode (kill switch) blocks all internet traffic when VPN is disconnected, preventing leaks. LAN access can be allowed for local network resources. Split tunneling excludes specific applications from the VPN tunnel. DNS options include using Mullvad's DNS, custom servers, or blocking ads/trackers/malware via their DNS. Obfuscation helps bypass VPN blocking in censored networks. The account system uses numbered tokens rather than email/password. Anonymous payment options include cash and cryptocurrency.

How do I run a basic mullvad example?

Run `mullvad connect` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does connect do in mullvad?

Establish VPN connection.