[GH-ISSUE #894] Access to the internal website after connecting to a vpn (wireguard) #759

Closed
opened 2026-02-26 06:34:17 +03:00 by kerem · 3 comments
Owner

Originally created by @fabianohugo on GitHub (Feb 15, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/894

Hi! I have the following environment. I set up Nginx Proxy Manager as my main request receiver for my sites. So I had to set up a vpn for people to stay in the home office. Without the VPN, the sites are functioning normally, but when I connect to the VPN my site gives an ERR_CONNECTION_REFUSED error. I'm not using upstream (I don't know if it's necessary). Can you help me? Where I release it. It is very likely that I have to release the VPN IP or the Public IP on Nginx.?
Screenshot_2021-02-15-20-19-06-544_com android chrome

Originally created by @fabianohugo on GitHub (Feb 15, 2021). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/894 Hi! I have the following environment. I set up Nginx Proxy Manager as my main request receiver for my sites. So I had to set up a vpn for people to stay in the home office. Without the VPN, the sites are functioning normally, but when I connect to the VPN my site gives an ERR_CONNECTION_REFUSED error. I'm not using upstream (I don't know if it's necessary). Can you help me? Where I release it. It is very likely that I have to release the VPN IP or the Public IP on Nginx.? ![Screenshot_2021-02-15-20-19-06-544_com android chrome](https://user-images.githubusercontent.com/56777412/108001472-4ca72a00-6fcb-11eb-973f-c0c21f12f05e.jpg)
kerem 2026-02-26 06:34:17 +03:00
Author
Owner

@fabianohugo commented on GitHub (Feb 16, 2021):

Updating the post: I checked the upstream problem in the log.

2021/02/15 14:30:17 [error] 27318 # 27318: * 504133 connect () failed (111: Connection refused) while connecting to upstream, client: 189.90.XXX.YYY, server: wgx.sps.ce. gov.br, request: "GET /favicon.ico HTTP / 2.0", upstream: "https: //172.19.AAA.BBB: 443 / favicon.ico", host: "wgx.sps.ce.gov.br" , referrer: "https://wgx.sps.ce.gov.br/"

I haven't seen where I can fix this problem.

Can you help me?

<!-- gh-comment-id:779801189 --> @fabianohugo commented on GitHub (Feb 16, 2021): Updating the post: I checked the upstream problem in the log. 2021/02/15 14:30:17 [error] 27318 # 27318: * 504133 connect () failed (111: **Connection refused**) while connecting to upstream, client: 189.90.XXX.YYY, server: wgx.sps.ce. gov.br, request: "GET /favicon.ico HTTP / 2.0", upstream: "https: //172.19.AAA.BBB: 443 / favicon.ico", host: "wgx.sps.ce.gov.br" , referrer: "https://wgx.sps.ce.gov.br/" I haven't seen where I can fix this problem. Can you help me?
Author
Owner

@github-actions[bot] commented on GitHub (Mar 19, 2024):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:2005593410 --> @github-actions[bot] commented on GitHub (Mar 19, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@github-actions[bot] commented on GitHub (Apr 30, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:2840630325 --> @github-actions[bot] commented on GitHub (Apr 30, 2025): Issue was closed due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#759
No description provided.