Get local DNS for reverse proxy (NPM)?


stottle

Recommended Posts

Hi,

 

I've got AdGuard running in a docker container which lets me add a filter to an IP address and give it my domain name (DNS rewrite is another term for this I believe).  The intent is to be able to use the same urls from my lan as externally, where the ip address I use would be the IP for the reverse router.

 

The issue is that NginxProxyManager seems to require 8080 for http and 4443 for https, not the default 80/443.  This means even if I set a static IP for the docker, urls won't work.  If I try to port forward 80/443, that conflicts with the webUI.

 

The solution I've been pondering is creating an additional host IP address, and then port forwarding to that.  Pipework seems to be an option, or manually creating an interface alias with ifconfig.  Seems like Settings->Network Settings->Routing Table could help as well.

 

Right now I'm using a cloud flare tunnel (wildcard) and not port forwarding, but ideally the ip would be something I could port forward to if desired (which I think means needing a Mac address).

 

Is there a recommended approach?  Other alternatives to consider?

 

TIA

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.