Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Possible to Letsencrypt reverse proxy into OpenVPN?

Featured Replies

Hi, I recently setup a reserve proxy for some applications (Emby, nextcloud, etc) and have all of these working fine, but I am having trouble figuring out if I can reverse proxy into OpenVPN.

 

I have DuckDNS setup and can access my OpenVPN connection using the duckdns address (let's call it mydomain.duckdns.org:943), but my corporate network blocks access to mydomain.duckdns.org. My domain is setup as subdomain.domainname.com and I have CNAMEs setup like emby.domainname.com which does work from my corporate network. So with that, I'm trying to figure out if I can setup something like openvpn.domainname.com and have it point to OpenVPN correctly. I noticed there isn't a template .conf for letsencrypt to setup OpenVPN.

  • 2 weeks later...

This is definitely possible.  I do something very similar with my custom domain and Cloudflare.  You need to set up stream proxying in your nginx.conf file.

 

stream {

    # Defining upstream servers for proxied traffic
    upstream tcp_backend {
        server 123.456.7.8:9443;
    }
    upstream udp_backend {
        server 123.456.7.8:1194;
    }

    # Defining protocols and ports for data to be proxied.
    server {
        proxy_connect_timeout 300s;
        proxy_timeout 300s;
        listen 9443;
        proxy_pass tcp_backend;
    }
    server {
        proxy_connect_timeout 300s;
        proxy_timeout 300s;
        listen 1193 udp;
        proxy_pass udp_backend;
    }
}

Where 123.456.7.8 is the internal IP address of your OpenVPN server.

  • 1 year later...
On 8/30/2019 at 2:41 AM, Bobat said:

You need to set up stream proxying in your nginx.conf file.

Can you advise where to add this? I get lots of these errors in my .conf file. image.png.73c6005ceca984a70d9cfbeb2d8c7522.png

  • 2 weeks later...

It goes in your nginx.conf.  In mine, it's right after the events{} block and before the http{} block.

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.