So I have a weird #networking problem: I have a #homeserver with several webservices, exposed to the internet via a reverse proxy.
-
@asmw Ok so then it at least seems that there is nothing wrong with routing or tls etc. What service is it? You had multiple different services and they all do this?
@arutaz Huh, so the macbook is new, it hasn't left the house yet. I just put it on the hotspot on my phone (so it has to go through the internet) and THAT WORKS FINE?
-
@arutaz Huh, so the macbook is new, it hasn't left the house yet. I just put it on the hotspot on my phone (so it has to go through the internet) and THAT WORKS FINE?
@arutaz Some wifi issue?
-
@arutaz Huh, so the macbook is new, it hasn't left the house yet. I just put it on the hotspot on my phone (so it has to go through the internet) and THAT WORKS FINE?
@asmw I would think a settiong in your router is to blame. When you connect to an outside address for your server stuff, like nextcloud.yourdomain.com then your router see that the IP of that is pointing to itself.
I think there are settings in most routers for this but I don't know what it's called.
When your mac is connecting using your phone it's like it's on the outside and everything works great. -
@asmw I would think a settiong in your router is to blame. When you connect to an outside address for your server stuff, like nextcloud.yourdomain.com then your router see that the IP of that is pointing to itself.
I think there are settings in most routers for this but I don't know what it's called.
When your mac is connecting using your phone it's like it's on the outside and everything works great.@arutaz That's not the case here, I am NATed, so I have a static wireguard tunnel with a static IPv4 as the endpoint. The names resolve to an external IP.
-
@arutaz That's not the case here, I am NATed, so I have a static wireguard tunnel with a static IPv4 as the endpoint. The names resolve to an external IP.
@asmw ok -
@arutaz So technically all uses of my services from home should go to the internet first (wasteful, I know). So weird there's a difference.
-
@arutaz So technically all uses of my services from home should go to the internet first (wasteful, I know). So weird there's a difference.
@asmw and your wireguard tunnel is not setup to allow local network otuside the tunnel? -
@arutaz It's supposed to be point to point, but I'm no expert. It has worked for months without issues.
-
@arutaz It's supposed to be point to point, but I'm no expert. It has worked for months without issues.
@asmw Oh, so the problem is new? It has worked with the same setup until recently? -
@redbr1ck While it's always DNS, the adresses resolve correctly.
Fetching the main pages using curl is also instant, seems to affect either larger transfers or depends on the number of connections?
@asmw did you query DNS with macOS native tool dscacheutil? It might give different result than curl or dig.