🐧 Linux

Linux Setup Guide

Connect to Hue VPN on Linux using the VLESS protocol. Supports Ubuntu, Debian, Fedora, Arch, and any other distribution via the CLI or a GUI client.

Supported Apps

Linux users can choose between a GUI client (Hiddify, Happ) or the command-line v2ray-core for full control.

🔮
Hiddify Recommended
Open-source GUI client with one-click import and subscription support. Available as an AppImage or .deb.
⚙️
v2ray-core CLI
The official v2ray core binary. Full control via JSON config file. Ideal for servers and power users.
🎯
Happ
Simple Linux proxy client with a minimal GUI. Available as an AppImage for all distributions.

Get your VLESS link from the Hue VPN dashboard.

VLESS Link
https://sub.huevpn.com/4853285291/sub/mmlwxrmn8ouhkemj

Setup: v2ray-core (CLI)

For servers, headless setups, or power users who prefer full control, v2ray-core with a JSON config file is the most flexible option.

ℹ️
Prerequisites
v2ray-core requires no dependencies — it's a single statically-linked binary. Tested on x86_64, ARM64, and ARMv7.
  1. 1
    Install v2ray using the official script
    bash — one-line installer
    bash <(curl -L https://raw.githubusercontent.com/v2fly/fhs-install-v2ray/master/install-release.sh)

    Or download a binary manually from GitHub Releases and extract to /usr/local/bin/.

  2. 2
    Create the configuration file

    Create /usr/local/etc/v2ray/config.json with the content shown in the config.json section below.

    bash
    sudo nano /usr/local/etc/v2ray/config.json
  3. 3
    Test the configuration
    bash
    v2ray run -config /usr/local/etc/v2ray/config.json

    If v2ray starts without errors, the configuration is valid. Press Ctrl+C to stop.

  4. 4
    Enable and start the systemd service
    bash
    sudo systemctl enable v2ray
    sudo systemctl start v2ray
    sudo systemctl status v2ray
  5. 5
    Configure your system or browser to use the proxy

    v2ray-core creates a local SOCKS5 proxy at 127.0.0.1:10808 and HTTP proxy at 127.0.0.1:10809 (configurable in config.json). Configure your browser or system settings to use these.

    bash — set system proxy (GNOME)
    gsettings set org.gnome.system.proxy mode 'manual'
    gsettings set org.gnome.system.proxy.socks host '127.0.0.1'
    gsettings set org.gnome.system.proxy.socks port 10808

config.json

Complete v2ray configuration file for VLESS over WebSocket + TLS. Replace YOUR-UUID-HERE with your UUID from the Hue VPN dashboard.

/usr/local/etc/v2ray/config.json
{
  "log": {
    "loglevel": "warning"
  },
  "inbounds": [
    {
      "tag": "socks",
      "port": 10808,
      "listen": "127.0.0.1",
      "protocol": "socks",
      "settings": {
        "auth": "noauth",
        "udp": true
      }
    },
    {
      "tag": "http",
      "port": 10809,
      "listen": "127.0.0.1",
      "protocol": "http",
      "settings": {}
    }
  ],
  "outbounds": [
    {
      "tag": "proxy",
      "protocol": "vless",
      "settings": {
        "vnext": [
          {
            "address": "server.huevpn.com",
            "port": 443,
            "users": [
              {
                "id": "YOUR-UUID-HERE",
                "encryption": "none",
                "flow": ""
              }
            ]
          }
        ]
      },
      "streamSettings": {
        "network": "ws",
        "security": "tls",
        "tlsSettings": {
          "serverName": "server.huevpn.com",
          "fingerprint": "chrome",
          "allowInsecure": false
        },
        "wsSettings": {
          "path": "/vless",
          "headers": {
            "Host": "server.huevpn.com"
          }
        }
      }
    },
    {
      "tag": "direct",
      "protocol": "freedom"
    },
    {
      "tag": "block",
      "protocol": "blackhole"
    }
  ],
  "routing": {
    "domainStrategy": "IPIfNonMatch",
    "rules": [
      {
        "type": "field",
        "ip": ["geoip:private"],
        "outboundTag": "direct"
      }
    ]
  }
}

systemd Service (auto-start)

If the official install script was not used, create the service file manually:

/etc/systemd/system/v2ray.service
[Unit]
Description=V2Ray Service
Documentation=https://www.v2fly.org/en_US/
After=network.target nss-lookup.target

[Service]
User=nobody
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
NoNewPrivileges=true
ExecStart=/usr/local/bin/v2ray run -config /usr/local/etc/v2ray/config.json
Restart=on-failure
RestartPreventExitStatus=23

[Install]
WantedBy=multi-user.target
Enable service
sudo systemctl daemon-reload
sudo systemctl enable v2ray
sudo systemctl start v2ray

Setup: Happ

  1. 1
    Download Happ AppImage
  2. 2
    Make executable and run
    bash
    chmod +x Happ-linux-x64.AppImage
    ./Happ-linux-x64.AppImage
  3. 3
    Import your VLESS link and connect

    In the Happ window, click Add Proxy, paste your VLESS URL, and click Connect.

💡
Verify your connection
After connecting, run curl --socks5 127.0.0.1:10808 https://api.ipify.org to confirm traffic is routing through the VPN. The IP returned should differ from your local IP.