mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 17:35:52 +03:00
[GH-ISSUE #866] OpenVPN Configuration #733
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#733
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @bwees on GitHub (Feb 4, 2021).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/866
What is troubling you?
I am trying to put an OpenVPN server with only port 1194 exposed behind NPM. I would like to be able to set my ovpn client to vpm.domain.com instead of my public IP address. This is so I am not exposing port 1194 on my router and instead am only exposing 80 and 443 which NPM is listening on. What configuration do I have to do inside of NPM to allow the client to point to vpn.domain.com and it goes through Nginx and onto the VPN server. I know that this is similar to #274 but, I could not discern a clear configuration. I have tried to do a simple proxy where vpn.domain.com forwards to 10.0.1.51:1194 (the ovpn server) but the connection fails and from what I can tell, the server is not seeing any traffic trying to connect to it
@dixi83 commented on GitHub (Nov 20, 2021):
I found this topic on the Nginx forums:
https://forum.nginx.org/read.php?11,260587
It seems to be possible. But I don't see how to configure this in NPM...
@chaptergy commented on GitHub (Nov 20, 2021):
Proxying both http and non-http protocols on the same port is non-trivial and relies on SNI, which apparently is NOT provided by most OpenVPN clients. So it seems you need specific clients for this to work anyways.
If it were possible you would have to use the image from PR https://github.com/jc21/nginx-proxy-manager/pull/1479 (
jc21/nginx-proxy-manager:github-pr-1479) and add it as an ssl passthough host as described here.@github-actions[bot] commented on GitHub (Mar 20, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍