My Setup:
1 homeserver (Ubuntu 24.04.4 LTS) with tailscale (v1.94.2) deployed with my own User including subnet-route and exit-node
dns record to route traffic with a specific subdomain to the tailscale ip-address of the homeserver
reverse proxy on the homeserver in docker rootless, with x-forwarded header set, to route the subdomains to the specific services
SSO Service for login
what i want to achieve:
i want to check the connecting client ip in my SSO service to block specific accounts to login when not connecting via tailscale
my problem:
the SSO Service only reads the ip address of the gateway of the docker network of the reverse proxy instead of the tailscale ip, which means i can't identify connections via tailscale.
i'm thinking, that the culprit is the masquerading of ip addresses in Tailscale, but i can't seem to deactivate it for direct connections