Jump to content

[Support] Unraid NAT Reflection Workaround


Recommended Posts

Hi! I'm trying to set up a home server using unraid and installing nextcloud on it. Mostly following Techcore Duo's guide (https://techcoreduo.com/2018/04/28/how-to-install-nextcloud-on-unraid/) and parts of linuxserver.io's guide (https://blog.linuxserver.io/2017/05/10/installing-nextcloud-on-unraid-with-letsencrypt-reverse-proxy/) I have successfully gotten nextcloud working and can access the ui from within my network using the ip address and port that I set. I can also access it from outside my network using the custom domain name I have set for it.


However, because my router does not support NAT Reflection/hairpinning/loopback, I cannot access nextcloud through the domain I have set from within my network (LAN). After browsing and reading through the forums, I've figured that the number 1 solution to this 'issue' is to replace the router but I cannot replace the router right now (due to circumstances out of my control). However, my router has an interesting function not commonly found on most routers. It has a DNS local database feature. Meaning, if I set up a DNS server within the network, I can set the router to use the local DNS server when I look up a specific domain name (in this case the domain name I'm using for the nextcloud). 


After looking around on blogs, people using the same router and running a web/mail server on their network have been successful by setting up a DNS server on their web server. They used a application called 'unbound' (https://nlnetlabs.nl/projects/unbound/about/). I've even found a docker hub repo with unbound (https://hub.docker.com/r/mvance/unbound/) but whenever I try to add a container for it, I get the following: 


root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='unbound' --net='bridge' -e TZ="Asia/Tokyo" -e HOST_OS="unRAID" 'matthewvance/unbound-docker' 

Unable to find image 'matthewvance/unbound-docker:latest' locally
/usr/bin/docker: Error response from daemon: pull access denied for matthewvance/unbound-docker, repository does not exist or may require 'docker login'.
See '/usr/bin/docker run --help'.

The command failed.


I would greatly appreciate any help on this. Ideally, I'd like to be able to install it using unraid's UI for docker containers but, if need be, would it be possible to create a new container and install it using command line? If so, how would I go about that?


My apologies on the long post, I know it's super specific but I couldn't seem to find any other way of finding an answer and I don't have a degree in computer science. 

Link to comment
30 minutes ago, Alto said:

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run -d --name='unbound' --net='bridge' -e TZ="Asia/Tokyo" -e HOST_OS="unRAID" 'matthewvance/unbound-docker' 

matthewvance/unbound-docker isn't the dockerHub repository.  It's a GitHub code repository


You want


Link to comment


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

  • Create New...