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.

network port redirection

Featured Replies

In a perfect world, there would be such thing as DNS for ports.  i.e., I could go to http://plex.mydomain.com and get redirected to 192.168.1.1:32400, or http://deluge.mydomain.com and get redirected to 192.168.1.1:8112.  I know you can hit all these from the dockers page - but how do you guys handle this for the non-techies in the family who have no business being in the unraid admin panel?  I used to have a "portal" i.e. static html page that you could get to via http://home.mydomain.com that had all the port links on it, but that was on a Xen VM.  I can't even have a http host docker because it would have to be on something different than port 80 - and I want this to be seamless to the house..

 

Is there such thing that would let me:

1) host a web server docker on a different IP than my host. I think Docker can somehow do that via host networking and other bindings, but I don't know if unRaid can handle it.

2) do some php magic that when I browse to plex.mydomain.com:80 on that IP, it would redirect to plex.mydomain.com:32400

 

Any thoughts?

Also you might look into a reverse proxy. There are dockers available for unraid which provide that ability. Or you can use any number of web based services.

  • Author

Interesting. I think I can do that redirection through bluehost too.  But that will end up with me redirecting "on the line" to an internal IP/port.  Should be ok - it would only actually work from inside my network, but it relies on outside services to function.  And then there's the exception - there are a couple where it'd be handy to redirect differently based on external or internal connections.  Anybody set up this as an internally hosted DNS service?

  • Author

Is there anyway to add virtual hosts to stock unraid emhttp so it could do the redirection locally?

Does that question even make sense?

I've been in your shoes before.

 

What you want is a reverse proxy.

Most current webservers have this ability.

 

Also, you can make the reverse proxy do redirects to port 443 and handle all the SSL work.

 

Sophos UTM Home Router has a built in reverse proxy and that would control access from the router.

 

You can put the unRAID GUI on a different port to port 80 (using the -p parameter in the go file).  Would that help?

  • Author

It would indeed - thanks.

Right now it's this

 

# Start the Management Utility

/usr/local/sbin/emhttp

 

would that go to

# Start the Management Utility

/usr/local/sbin/emhttp -p 8000

 

Can I restart emhttp without rebooting the whole array?

 

 

No emhttp doesn't work like that. You'll need to do a proper reboot.

In a perfect world, there would be such thing as DNS for ports.  i.e., I could go to http://plex.mydomain.com and get redirected to 192.168.1.1:32400, or http://deluge.mydomain.com and get redirected to 192.168.1.1:8112.  I know you can hit all these from the dockers page - but how do you guys handle this for the non-techies in the family who have no business being in the unraid admin panel?  I used to have a "portal" i.e. static html page that you could get to via http://home.mydomain.com that had all the port links on it, but that was on a Xen VM.  I can't even have a http host docker because it would have to be on something different than port 80 - and I want this to be seamless to the house..

 

Is there such thing that would let me:

1) host a web server docker on a different IP than my host. I think Docker can somehow do that via host networking and other bindings, but I don't know if unRaid can handle it.

2) do some php magic that when I browse to plex.mydomain.com:80 on that IP, it would redirect to plex.mydomain.com:32400

 

Any thoughts?

 

for lan only, use a dns server to create forwards.

 

For outside access to your services, there are 2 good options:

 

1) Reverse proxy as mentioned above. Setting up is not that straightforward, but works really well for the end user once it is set up. I use nginx container as the reverse proxy. mydomain.com/sab goes to sabnzbd and mydomain.com/cp goes to couchpotato, etc.

2a) Your domain name provider may already support advanced dns forwarding

My provider of choice is dynadot. I can set up different subdomain forwards including to different ports. For instance, dynadot can forward cp.mydomain.com to homeserver:5000 and forward sab.mydomain.com to homeserver:8000 etc. (You can use dynamic dns address like from duckdns for the homeserver address if you don't have a static IP)

2b) Or your hosting provider may allow that. I use hostgator and they also allow for forwarding subdomains to different IP:port combos

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.