Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HELP] Steps to add Local ip to domain #448

Open
robsonma1984 opened this issue Dec 31, 2024 · 1 comment
Open

[HELP] Steps to add Local ip to domain #448

robsonma1984 opened this issue Dec 31, 2024 · 1 comment
Labels
help wanted Extra attention is needed

Comments

@robsonma1984
Copy link

robsonma1984 commented Dec 31, 2024

What happened?
I have a Intel nuc with Casa OS installed and want to access some of the apps from inside the Network only, I have a domain name that points to my public IP using Cloudflare, i have all the certificates and everything works fine, I have set up some services that I want external access to but I want a couple that i don't want any outside access to.
I am also running Adguard home.
So lets say i want to access Adguard from my local network. ie, https://dns.mydomain.com (192.168.1.141:80) but if anyone tries to access https://dns.mydomain.com from outside my network the page should not be found.

Describe what have you tried
Created a New Proxy Rule
Matching Keyword / Domain: [dns.mydomain.com]
Target IP Address or Domain Name with port: [192.168.1.141:80]
If I then add the DNS record to Cloudflare it works and also works from anyone outside my network, so i have not added the DNS to Cloudflaire.

Describe the networking setup you are using
Here are some example, commonly asked questions from our maintainers:
Zoraxy in Docker (Casa OS)
Version 3.1.5

  • Are you using Cloudflare? [Yes]
@robsonma1984 robsonma1984 added the help wanted Extra attention is needed label Dec 31, 2024
@tobychui
Copy link
Owner

@robsonma1984 There is an issue with your setup, in which as your domain is routed externally and through CF, there is no way Zoraxy can know where your request is coming from. Though, some ISP settings might allow CF to include CF-Connecting-IP, but that is currently not referenced by access rules (black / white list) IP resolver.

Have you considered using a custom DNS server in your local network environment instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants