All rapyuta.io docs are open source. See something that's wrong or unclear? Submit a pull request.
Make a contributionIf you have switched projects in the CLI using the rio project select command but are still seeing machines from the previously selected project there might be an issue with the VPN connection not being updated correctly.
Switching projects in the CLI does not automatically update the VPN configuration on your local device. Therefore, it’s necessary to manually establish a connection to the VPN network associated with the current project and verify the status of your VPN connection. To do so:
After switching projects, reconnect to the VPN network of the current project by running the following command:
rio vpn connect
To confirm the status of your VPN connection, use the command:
rio vpn status
Suppose you are unable to establish an automatic connection to a previously connected device over the VPN network, you will need to re-enable the VPN on the device after it reboots.
To re-establish the connection:
Confirm your current project in the CLI, use the command:
rio project list -w
If you have verified that you are in the correct project, proceed to disable and enable VPN on the specific device using one of the following commands:
rio device vpn false --devices=<devicename>
rio device vpn enable --devices=<devicename>
Replace
After enabling VPN on the device, verify the VPN status to ensure that the device is properly connected to the VPN network, use the command:
rio vpn status