Setting up a Proxy for Mobile App Access to HES
A proxy server is required to redirect the mobile application from the external network to the local network where the Hideez Enterprise Server (HES) is running.
Setting up a Proxy for Mobile App Access to HES
Step 1: Set Up the Reverse Proxy Server
Choose a Platform:
Use Nginx or Apache for the reverse proxy, either on Linux or Windows.
Ensure Internet Access to the Proxy:
The proxy server must be accessible from the internet. Open the necessary ports (e.g., 80 for HTTP or 443 for HTTPS) on your firewall or router.
Register a domain name (e.g., https://hesproxy.hideez.com) and link it to the public IP address of your proxy server.
Step 2: Configure Communication Between Proxy and HES
Allow Access Between Proxy and HES:
Ensure that the proxy can reach the HES server in the local network and that the firewall rules allow traffic between the proxy and HES.
Confirm that HES can respond to requests routed through the proxy.
Step 3: Modify appsettings.json on the Proxy Server
Open appsettings.json on the proxy server.
Update the HES Address:
Locate the configuration block related to the reverse proxy:
Replace
"https://localhost/"
with the HES server’s local hostname or IP address, such as:
Step 4: Expose the Proxy to the Internet
Set Up Public Proxy Address:
Configure your proxy to expose the HES server to the internet via the registered public URL (e.g., https://hesproxy.hideez.com).
Configure HTTPS (Optional but Recommended):
Set up SSL/TLS certificates for secure HTTPS access using a certificate authority like Let’s Encrypt.
Step 5: Configure Reverse Proxy URL in HES
Log into the HES Admin Dashboard.
Set the Reverse Proxy URL:
Go to Settings > Parameters > Reverse Proxy.
Enter the public proxy URL (e.g., https://hesproxy.hideez.com) as the reverse proxy address.
Last updated