mullvad reconnect command disconnects and immediately reconnects to a VPN relay that matches your current relay constraints.
Usage
Options
Wait until reconnected before exiting. By default, the command returns immediately after initiating the reconnection.
Examples
Reconnect immediately
Reconnect and wait
When to use reconnect
Usereconnect when you want to:
- Switch to a different relay server while maintaining your current constraints
- Refresh your connection without changing settings
- Get a new IP address from the same location
- Recover from a degraded connection
How it works
The reconnect command:- Disconnects from the current relay
- Selects a new relay matching your current constraints (location, protocol, etc.)
- Establishes a new connection
The selected relay may be the same as before if only one relay matches your constraints.
Exit status
0- Successfully initiated reconnection (or completed if using--wait)1- Failed to reconnect or daemon error
Related commands
connect- Connect to VPNdisconnect- Disconnect from VPNstatus- Check connection statusrelay set- Configure relay constraints