Very Confused .... #2064
-
|
So on my core server i get the following error.. But on the defguard-proxy server i an using 1.6.2 I have the following |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
|
Hi @ghbevans, Can you please share more details about your configuration? Is there any reverse proxy between |
Beta Was this translation helpful? Give feedback.
-
|
DG-gateway config* less gateway.toml *# Optional: Command which will be run before bringing interface up *# Optional: Command which will be run after bringing interface up *# Optional: Command which will be run before bringing interface down *# Optional: Command which will be run after bringing interface down *# A HTTP port that will expose the REST HTTP gateway health status *# Optional: Enable automatic masquerading of traffic by the firewall *# Optional: Set the priority of the Defguard forward chain DG-proxy config* /etc/defguard/proxy.toml [backend.dashboard] [backend.enrollment] [logging] **** Caddyfile Config **** https://defguard.**************.net { } ********Core server - Ubuntu 24 - 192.168.25.81 ******* Core configuration*# *# Define the URL under which Defguard is running: *# How long auth session lives in seconds *# Optional. Generated based on DEFGUARD_URL if not provided. DEFGUARD_ADMIN_GROUPNAME=admin *# This will be displayed in the network settings when editing/adding a new location: Proxy configuration*# Proxy is optional - if you would like to use the remote enrollment LDAP configuration*# DEFGUARD_LDAP_URL=ldap://localhost:389 DB configurationDEFGUARD_DB_HOST="localhost" ********** Firewall port 80 + 443 FWD to Proxy 192168.25.228 ****** |
Beta Was this translation helpful? Give feedback.
-
|
Hello @ghbevans, It looks like the issue comes from the DEFGUARD_PROXY_URL configuration in your Core .env file. Currently, you have it set to: However, the communication between Core and Proxy relies on gRPC. This variable must point to the internal gRPC endpoint of your Proxy service, not your public domain or public reverse proxy URL. You should use the internal IP address (or Docker service name / local hostname) of the Proxy server along with its gRPC port. By default, the Proxy runs its gRPC service on port 50051. For example, based on the IP from your config, it should look something like this: (Just make sure to replace the IP with the correct internal address of your Proxy container/VM if it's different). As a best practice, it is highly recommended to secure this internal gRPC communication. You can find a detailed guide on how to set up SSL/TLS for gRPC in our documentation here: Let me know if this resolves the issue for you! |
Beta Was this translation helpful? Give feedback.
-
|
Hi,
I made the changes and I see bidirectional comms BUT i still get a 404 error when I go to the enroll screen (And its blank )
Thanks
On Monday, February 23, 2026 at 04:13:03 a.m. EST, jakub-tldr ***@***.***> wrote:
Hello @ghbevans,
It looks like the issue comes from the DEFGUARD_PROXY_URL configuration in your Core .env file.
Currently, you have it set to:
DEFGUARD_PROXY_URL=https://defguard.thegollum.net/enroll
However, the communication between Core and Proxy relies on gRPC. This variable must point to the internal gRPC endpoint of your Proxy service, not your public domain or public reverse proxy URL.
You should use the internal IP address (or Docker service name / local hostname) of the Proxy server along with its gRPC port. By default, the Proxy runs its gRPC service on port 50051.
For example, based on the IP from your config, it should look something like this:
DEFGUARD_PROXY_URL=http://192.168.25.228:50051
(Just make sure to replace the IP with the correct internal address of your Proxy container/VM if it's different).
As a best practice, it is highly recommended to secure this internal gRPC communication. You can find a detailed guide on how to set up SSL/TLS for gRPC in our documentation here:
https://docs.defguard.net/deployment-strategies/grpc-ssl-communication
Let me know if this resolves the issue for you!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
Hello @ghbevans,
It looks like the issue comes from the DEFGUARD_PROXY_URL configuration in your Core .env file.
Currently, you have it set to:
DEFGUARD_PROXY_URL=https://defguard.thegollum.net/enrollHowever, the communication between Core and Proxy relies on gRPC. This variable must point to the internal gRPC endpoint of your Proxy service, not your public domain or public reverse proxy URL.
You should use the internal IP address (or Docker service name / local hostname) of the Proxy server along with its gRPC port. By default, the Proxy runs its gRPC service on port 50051.
For example, based on the IP from your config, it should look something like this:
DEFGUARD_PROXY_URL=http://192.1…