Cloud service and
Cloud technology-
Provider
Cloud service and
Cloud technology provider
Suche

Our mission
Green, Open, Efficient

Blog.

Accessing the WebUI without a VPN: Secure remote access via SOCKS, SSH and Firefox

Written by Lucas Trilken
2026 | Cloud&Heat | Blog post | Proxmox WebUI without a VPN

In daily operations, despite the use of "Infrastructure as Code," it is necessary to gain an overview of virtualization environments for error analysis, possibly via a WebUI. For this purpose, access to the Proxmox WebUIs is required, which are accessible via HTTPS on port 8006 (Proxmox Virtual Environment) and port 8007 (Proxmox Backup Server). In many use cases, it is advisable not to make the WebUIs accessible from all network segments, for example, if services are to be provided over the internet.

Many use sophisticated solutions such as VPNs or Jumphosts in combination with remote desktop viewers to secure access. While many of these solutions may be appropriate depending on the application and use case, they generally introduce additional dependencies that must be considered throughout the lifecycle of a solution. At the same time, they represent a security-critical component because they must be accessible from networks classified as insecure (e.g., the Internet). Since these are often corresponding administrative tools, certain availability requirements are associated with them.

Therefore, the intention of this post is to demonstrate very simple, OpenSSH-based solutions that enable stable operation without additional software components and are compatible with all common client operating systems (Linux, Windows, macOS).

What to expect in the blog post:

Requirements

  • SSH access to a remote VM (with username and password or SSH key, recommended)
  • Firefox on the local machine
  • SSH client (e.g., OpenSSH) on the local machine (ssh on Linux/macOS, ssh.exe on Windows)

Step 1: Set up SSH connection with SOCKS proxy

  1. Open a terminal or command line.
  2. Set up an SSH connection with SOCKS proxy forwarding on a high port (port number > 4096):

ssh -D 9000 -C -N @

  • -D 9000: Opens the SOCKS proxy on port 9000 on the local machine
  • -C: Enables compression (optional, but recommended for better performance)
  • -N: No remote command execution (optional, only proxy forwarding, without tty)
  • username@remote-vm-ip: Replace this with your username and the IP of the remote VM

Note: The SSH connection must remain open for the duration of the access and serves as a tunnel for TCP/UDP traffic.

Step 2: Configure Firefox settings for SOCKS proxy

  1. Open the Firefox browser on the local machine
  2. Open the settings (Burger menu > Settings) and search for "SOCKS proxy". Alternatively, access it via about:preferences#connectionSecurity in the URL bar.
  3. Select "Configure Proxy"
  4. Enable the option "Manual proxy configuration"
  5. Use the following proxy configuration:
    • SOCKS host: 127.0.0.1
    • Port: 9000
    • Enable "SOCKS v5"
Cloud&Heat | Blog post | Socks Settings

6. Click "OK“ or "Save“.

Step 3: Connect to the WebUI via SSH and SOCKS

  1. Start the SSH connection (Step 1).
  2. Open the Firefox browser and access a website, e.g., the administrative WebUI.
  3. The requests are now routed through the SOCKS proxy on the remote VM. This allows access to the WebUI in an otherwise unreachable network segment.

Step 4: Optional - Automation with SSH Config

For frequently used connections, the SSH configuration can be automated:

  1. Edit the SSH configuration file (~/.ssh/config on Linux) or a file referenced via an Includestatement:

    vi ~/.ssh/config
  2. Add the following entries:

    Host remote-vm
        HostName 
        HostKeyAlias remote-vm
        User 
        DynamicForward 9000
        Compression yes
  3. The connection can then be established with the following command:

    ssh -N remote-vm

Step 5: Optional - Managing Multiple Environments


If multiple environments need to be managed, the Firefox plugin "Firefox Multi-Account Containers" provided by Mozilla can be very useful.

However, generally tunneling all browser traffic can be very cumbersome or even dangerous in daily operations. For example, when browsing the internet with an active proxy, the public IP addresses of the deployments can be associated with the websites accessed.

  1. Open the Add-ons/Extensions tab via the URL bar with about:addons.

  2. Search for the plugin "Firefox Multi-Account Containers".

  3. After installation, the plugin will be available in the toolbar.

Cloud&Heat | Blog post | mc plugin

4. Additional containers for each environment can be added under "Manage Containers".

Cloud&Heat | Blog post | mc container create
Cloud&Heat | Blog post | mc container create 2

5. After creating a new container, the corresponding proxy setting can be made under "Manage Containers" by selecting the new container and then under "Advanced Proxy Settings".

Cloud&Heat | Blog post | mc container config
Cloud&Heat | Blog post | mc container config 2

General proxy settings are no longer required.

A new tab can be opened in the desired containerized environment by right-clicking on the new tab button and selecting the appropriate container.

Security Notes

Finally, two simple security tips:

  1. Using SSH keys with current key algorithms instead of passwords significantly improves security.
  2. Limit the SOCKS proxy to localhost (127.0.0.1) to make it usable only locally.

More blog posts

Getting started with the OpenStack cloud: Accessing the Horizon dashboard
In this blog post, we’ll introduce you to the OpenStack Horizon dashboard and explain some of the key terms you’ll come across in this context.
Getting Started in the Cloud | Chapter 2: Accessing the OpenStack API | Header
In this post, advanced users will gain an overview of the CLI tools and API endpoints available in the cloud environment, enabling them to automate recurring tasks and manage infrastructure using scripting or IaC tools such as Terraform or OpenTofu.