Hide My IP Help Center

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.

  1. Open the WireGuard web app, enter your license key, choose a location and download the config file.
  2. Install WireGuard:
    sudo apt install wireguard
    
  3. Copy the config file into place. Replace downloaded.conf with the name of your file:
    sudo cp downloaded.conf /etc/wireguard/hmip.conf
    
  4. Connect:
    sudo wg-quick up hmip
    
  5. To disconnect:
    sudo wg-quick down hmip
    

If you see resolvconf: command not found, run sudo apt install openresolv and connect again.

OpenVPN

  1. 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.
  2. Install OpenVPN support for the network settings:
    sudo apt install network-manager-openvpn-gnome
    
  3. Open Settings > Network. Next to VPN, click +, then Import from file.
  4. Select the file you saved. Paste the username and password, then click Add.
  5. 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.

Still need help?

Chat with us or send a message. Our team answers Monday to Friday, 9 AM to 4 PM Pacific time.