vpn — vpn Commands

vpn

VPN Connection Commands

vpn [OPTIONS] COMMAND [ARGS]...

connect

Connect local system to HTB Labs over VPN

Servers arecase-insensitive and typically of the format [Region]-[Type]-[Num]. Can use spaces or - between.

Examples:
$ htb vpn connect -s us-free-2
$ htb vpn connect –server au-vip-1
HackTheBox> vpn connect -s ‘EU vIp 20’
$ htb vpn connect -s ‘eu vip+ 1’
vpn connect [OPTIONS]

Options

-s, --server <server_str>

Specify server to connect to

--refresh-key

Download fresh VPN key from HTB even if the local one is for the same lab. Try if connection is hanging.

connect-ra

Connect to Release Arena network

vpn connect-ra [OPTIONS]

Options

-r, --region <region>

Region to connect to. Without specifying, will connect to most recent lab on HTB.

Options

US | EU

--refresh-key

Download fresh VPN key from HTB even if the local one is for the same lab. Try if connection is hanging.

disconnect

Disconnect from VPN

vpn disconnect [OPTIONS]

labs

Show the HTB labs available to the user, and how many players are in each

vpn labs [OPTIONS]

Options

-t, --type <lab_filter>

Filter by Lab type

Options

Free | VIP | VIP+ | RA

-r, --region <region_filter>

Filter by region

Options

US | EU | AU | SG

--force-pager, --no-pager

Force or disable the pager on output. If not specified, application will pick.

status

Print current status, showing current HTB lab and connection details.

The HTB lab is the lab that the HTB system expects you to connect to. If this is out of sync with what you are connected to, submitted flags and power commands won’t work.

vpn status [OPTIONS]