[GH-ISSUE #274] NPM and OpenVPN #242

Closed
opened 2026-02-26 06:31:42 +03:00 by kerem · 6 comments
Owner

Originally created by @axiom00 on GitHub (Jan 16, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/274

Hi @jc21,

I have OpenVPN running on my home network for those times I need to remote back into my network. OpenVPN is configured to tunnel on port 1194/upd and 443/tcp. For the most part, I tunnel on port 1194 but on occasion I am at a client site that blocks port 1194 and have to resort to port 443 to exit their network.

Before installing NPM, both 1194 and 443 were forwaded to OpenVPN.
Now that NPM is installed, 1194 is still forwarded to OpenVPN, but 80/443 to NPM.

Any suggestions on configuring NPM and OpenVPN to share port 443?

Thanks.

Originally created by @axiom00 on GitHub (Jan 16, 2020). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/274 Hi @jc21, I have OpenVPN running on my home network for those times I need to remote back into my network. OpenVPN is configured to tunnel on port 1194/upd and 443/tcp. For the most part, I tunnel on port 1194 but on occasion I am at a client site that blocks port 1194 and have to resort to port 443 to exit their network. Before installing NPM, both 1194 and 443 were forwaded to OpenVPN. Now that NPM is installed, 1194 is still forwarded to OpenVPN, but 80/443 to NPM. Any suggestions on configuring NPM and OpenVPN to share port 443? Thanks.
kerem 2026-02-26 06:31:42 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@jc21 commented on GitHub (Jan 16, 2020):

I had a big response prepared to basically say "TCP doesn't share like that" but then a simple google has led me to this:

https://medium.com/bob-kfir-tech/how-to-have-openvpn-and-ssl-on-the-same-port-f0c8df2b2cc2

I don't use openvpn so I can't give it a go.

<!-- gh-comment-id:574965165 --> @jc21 commented on GitHub (Jan 16, 2020): I had a big response prepared to basically say "TCP doesn't share like that" but then a simple google has led me to this: https://medium.com/bob-kfir-tech/how-to-have-openvpn-and-ssl-on-the-same-port-f0c8df2b2cc2 I don't use openvpn so I can't give it a go.
Author
Owner

@axiom00 commented on GitHub (Jan 16, 2020):

Thanks! I'll give it a try.

From my research, it seems you can only accomplish this by putting something in front of NPM to split the traffic. sshl or haproxy.

Out of curiosity, what VPN are you using to remote back to your home network if you're using one?

<!-- gh-comment-id:574969153 --> @axiom00 commented on GitHub (Jan 16, 2020): Thanks! I'll give it a try. From my research, it seems you can only accomplish this by putting something in front of NPM to split the traffic. sshl or haproxy. Out of curiosity, what VPN are you using to remote back to your home network if you're using one?
Author
Owner

@jc21 commented on GitHub (Jan 16, 2020):

I'm not. My domains are public and I use http method for letsencrypt verification.

<!-- gh-comment-id:574970268 --> @jc21 commented on GitHub (Jan 16, 2020): I'm not. My domains are public and I use http method for letsencrypt verification.
Author
Owner

@axiom00 commented on GitHub (Jan 16, 2020):

Got it. Thanks for the info.

<!-- gh-comment-id:574970668 --> @axiom00 commented on GitHub (Jan 16, 2020): Got it. Thanks for the info.
Author
Owner

@gartenbauer commented on GitHub (Jan 29, 2020):

@axiom00 Did you find a solution?

<!-- gh-comment-id:579745765 --> @gartenbauer commented on GitHub (Jan 29, 2020): @axiom00 Did you find a solution?
Author
Owner

@axiom00 commented on GitHub (Jan 30, 2020):

@gartenbauer Unfortunately no. I tried running HAProxy on my pfsense firewall to split VPN and https but was unsuccessful. I'll make sure to update this issue if I end up figuring out a solution.

<!-- gh-comment-id:580042367 --> @axiom00 commented on GitHub (Jan 30, 2020): @gartenbauer Unfortunately no. I tried running HAProxy on my pfsense firewall to split VPN and https but was unsuccessful. I'll make sure to update this issue if I end up figuring out a solution.
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#242
No description provided.