VPN

rio vpn

Connect to the rapyuta.io VPN

You can connect to the rapyuta.io VPN from your system and access the machines in the VPN. You can view other machines in the VPN, ping them, and check the status of the VPN connection. You can also register a new machine that may not be able to run the CLI.

rio vpn [OPTIONS] COMMAND [ARGS]...

connect

Connect to the current project’s VPN network.

Simpy run the command to connect to the VPN network of the current project. If tailscale isn’t found on the system then the command will prompt to install the required tools.

If the VPN is not enabled in the project, the command will inform the user to enable it on the project.

If you are already connected to the VPN, the command will prompt to stop the current connection and connect to the project’s VPN.

rio vpn connect [OPTIONS]

Options

--update-hosts

Update hosts file with VPN peers to allow access to them by hostname. Run with sudo when you enable this flag.

disconnect

Disconnect from the project’s VPN network.

Simply run the command to disconnect from the VPN network.

If tailscale isn’t found on the system then the command will prompt to install the required tools. While it may seem unnecessary to install the tools to disconnect, it is works as a safety measure to ensure that the user has the required tools to connect to the VPN.

rio vpn disconnect [OPTIONS]

machines

Manage Android or iOS devices connected to the VPN.

rio vpn machines [OPTIONS] COMMAND [ARGS]...

deregister

Deregister an Android or iOS Tailscale Client in the Project VPN.

rio vpn machines deregister [OPTIONS] NAME

Arguments

NAME

Required argument

list

List all the registered machines on the VPN.

This command lists all the machines that are registered on the VPN using the CLI.

rio vpn machines list [OPTIONS]

register

Register an Android or iOS Tailscale Client in the project’s VPN.

Provide a name and the node key of the machine to register it in the project’s VPN. The node key can be obtained from the Tailscale client running on the machine. The name can be any name that you want to give to the machine.

rio vpn machines register [OPTIONS] NAME NODE_KEY

Arguments

NAME

Required argument

NODE_KEY

Required argument

ping-all

Ping all the peers in the network.

This command will ping all the peers in the network. It is convenient to check the connectivity of all the peers in the network. Also, it helps establish a direct connection with the peers.

rio vpn ping-all [OPTIONS]

status

Check VPN network status.

You can view all the connected peers in the VPN network.

User the --wide flag to view more details about the peers.

rio vpn status [OPTIONS]

Options

-w, --wide

Print more details