Proxmox Proxy Application
Line 2: | Line 2: | ||
<meta name="description" content="Discover how 'Proxmox Proxy' by ModulesGarden separates users from Proxmox, removing direct server access."></meta> | <meta name="description" content="Discover how 'Proxmox Proxy' by ModulesGarden separates users from Proxmox, removing direct server access."></meta> | ||
− | =About Proxy Application= | + | =About Proxmox Proxy Application= |
{| | {| | ||
− | |style="padding: 10px 0px 30px 0px;"|'''The purpose of maintaining and utilizing the "Proxy" application is to separate the user from the server infrastructure.'''<br/> Without the Proxy, users require access to the for example Proxmox server to use the console. However, with the proxy enabled, this requirement is eliminated.<br/> | + | |style="padding: 10px 0px 30px 0px;"|'''The purpose of maintaining and utilizing the "Proxmox Proxy" application is to separate the user from the server infrastructure.'''<br/> Without the Proxy, users require access to the for example Proxmox server to use the console. However, with the proxy enabled, this requirement is eliminated.<br/> |
Before you begin the process of connecting the console to the server through a proxy, you need to '''download the proxy application file'''.<br/> | Before you begin the process of connecting the console to the server through a proxy, you need to '''download the proxy application file'''.<br/> |
Revision as of 12:07, 19 February 2024
Contents[hide] |
About Proxmox Proxy Application
The purpose of maintaining and utilizing the "Proxmox Proxy" application is to separate the user from the server infrastructure. Without the Proxy, users require access to the for example Proxmox server to use the console. However, with the proxy enabled, this requirement is eliminated. Before you begin the process of connecting the console to the server through a proxy, you need to download the proxy application file. |
Proxmox Proxy Installation For Console Connection
1. Create a new VPS server, which you may run on a Proxmox server. It is advised to use the KVM virtualization type. Warning! The used VPS may NOT have any services running, such as: PHP, WebServer (e.g. apache, nginx) or MySQL server. |
2. Configure the network on the virtual machine, and make sure the network works correctly, to do so you may use the below command:
ping modulesgarden.com If everything is fine, ensure that basic server security settings have been established. |
3. Log into the machine on which you are going to set up proxy. |
4. Install the docker engine and the docker compose:
https://docs.docker.com/engine/install/ |
5. Upload the application files into a proper directory, eg: /root/proxmox-proxy (create if needed). Then unzip the files. |
6. Move to the following catalog:
cd /root/proxmox-proxy Note that the exact directory depends on the previous step where you uploaded the files. |
7. Purchase or generate your own SSL certificate, and then use the certificate to overwrite the following files: 'nginx/localhost.crt' and 'nginx/localhost.key' . |
8. Find the 'example.env' file and rename it to '.env'. Then open the just renamed '.env' file and provide a random set of signs to create the database and root passwords: DB_PASSWORD and MYSQL_ROOT_PASSWORD |
9. Run the below command:docker-compose up --build -d |
10. Move to docker container:
docker exec -it proxyphp bash and run the installation script: php -q /var/www/html/installer.php install When ready, find the API Key and keep it safe, you will need it later on when pasting the data into the module addon, see point 12 for details. |
11. Next, copy your machine IP address to WHMCS. You may check the IP address using the below command:
ip a Note: Remember to check the IP address in your virtual machine, not in the proxyphp container. |
12. Configure all the required data in the module addon in your WHMCS. Below we will illustrate the proxy configuration based on the Proxmox Addon example. For other modules, this section may look slightly different. Move to 'Addons' → 'Proxmox Addon' → 'Settings'. At the bottom you will find section 'Console Proxy' with 'Host' and 'API Key' fields. Provide the necessary data and confirm the changes. |
![]() |
13. Make sure the server works. In order to do so, please open the address: https://{vmip}:8443. Remember to replace {vmip} with a valid virtual machine IP address, for example: https://192.168.8.113:8443/ |
14. Finally, try to open the noVNC console on your WHMCS Proxmox product to check if the proxy configuration is working properly. |
Important: If your certificate expires in the meantime, you will need to buy/generate a new one and follow the below steps:
docker-compose up --build -d |
Proxmox Proxy Update
Updating the Proxmox Proxy Application - by ModulesGarden When a new version of the proxmox proxy application is released, follow these steps to complete the update process:
docker-compose pull docker-compose down docker-compose up -d --build |
Container Update - by Third-Party Vendor The Proxmox proxy is an application developed by ModulesGarden, relying on Docker containers provided by third-party vendors. docker-compose pull docker-compose down docker-compose up -d --build Important: In case of container update, there is no need to configure anything in the proxmox proxy application itself. |
Proxmox Proxy Management
To understand how the Proxmox Proxy application operates, consider the following steps:
|
Icreased Security
To enhance the security of your infrastructure, we recommend implementing the following measures:
|