Use Hide My IP on Linux
There is no Hide My IP app for Linux. Instead, download a config file from our web app and connect with WireGuard or OpenVPN, which most Linux systems already support. The web app needs a Premium license key.
The commands below are for Ubuntu and Debian. Other Linux systems use the same tools with their own package manager.
WireGuard (recommended)
- Open the WireGuard web app, enter your license key, choose a location and download the config file.
- Install WireGuard:
sudo apt install wireguard - Copy the config file into place. Replace
downloaded.confwith the name of your file:sudo cp downloaded.conf /etc/wireguard/hmip.conf - Connect:
sudo wg-quick up hmip - To disconnect:
sudo wg-quick down hmip
If you see resolvconf: command not found, run sudo apt install openresolv and connect again.
OpenVPN
- Open the OpenVPN web app, enter your license key, choose a location and click Get VPN Config. Save the file and copy the username and password that the page shows.
- Install OpenVPN support for the network settings:
sudo apt install network-manager-openvpn-gnome - Open Settings > Network. Next to VPN, click +, then Import from file.
- Select the file you saved. Paste the username and password, then click Add.
- Turn on the new VPN connection in the system menu.
You can also connect from a terminal with sudo openvpn --config downloaded.ovpn and enter the username and password when asked.
Check your connection
Open hidemyip.com/ip. It shows the IP address and location of the server you chose.