Reverse proxy, Forbidden 403 error

2
1
NAS
DS220+
Operating system
  1. Windows
Mobile operating system
  1. Android
I am relatively new to reverse proxy. I have a personal domain, mydomain.net, and I am setting up reverse proxies for each docker container on my system. For example, Portainer should be accessed with 'port.mydomain.net'.

My reverse proxy (for all sites) is set up similarly to as follows:
1700064597962.png


However, when I attempt to access it through subdomain.mydomain.net, I keep coming back to:

Forbidden
You don't have permission to acccess this resource.

If I use 192.168.1.234:9000, I can access the docker container without issue. The weird thing about this is that it has worked, and just when I think I had figured it out, it doesn't work. If I reboot the NAS, for example, it stops working. What am I doing wrong? I would love to be able to access everything without having to use the nasname.synology.me tld to access everything.
 
Solution
I presume 1) your domain DNS records point to your current WAN IP; 2) you have opened port 443 to your NAS; and 3) have no NAS firewall rules interfering… If so, try using your NAS IP in place of “localhost” and see if that helps.
I presume 1) your domain DNS records point to your current WAN IP; 2) you have opened port 443 to your NAS; and 3) have no NAS firewall rules interfering… If so, try using your NAS IP in place of “localhost” and see if that helps.
 
Upvote 0
Solution
If you are trying to access the NAS from the a LAN device then your router may not support local loopback: which is a mechanism whereby it recognises LAN outbound requests destined to its WAN IP and, for destination ports that it has forwarding rules, routes the request back to the local destination device.
 
Upvote 0
I presume 1) your domain DNS records point to your current WAN IP; 2) you have opened port 443 to your NAS; and 3) have no NAS firewall rules interfering… If so, try using your NAS IP in place of “localhost” and see if that helps.
I think it was point 1 that was messing me up. And it was a simple fix, honestly. We'll have to see if I continue to have success on future endeavors, but thank you for your quick troubleshooting guide!
 
Upvote 0

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

I really like the NPM service. Works well and is easy to use so I would prefer to use it. I’ll set it up...
Replies
10
Views
736
I understand that but because you have a DMZ in place and all traffic is pushed via isp router to your...
Replies
11
Views
737
  • Question
Does this only happen when you try to access packages via the 'office' links in Drive's menu? And have you...
Replies
1
Views
1,425
  • Question
Ofc you can make a single compose for this no problem. Personally I like to separate front end apps from...
Replies
10
Views
2,744
  • Solved
yes you can fullchain + privkey would be a better option
Replies
21
Views
7,038

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Trending threads

Back
Top