-
-
Notifications
You must be signed in to change notification settings - Fork 249
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
Dynamic IP for trusted_ips #291
Comments
Maybe I'm doing something wrong, but I set up a subnet for both trusted IPs and admin IPs and I can't get it to work. I have the following configured:
I can access the main page and run scripts, but I'm seeing the GitHub icon instead of a gear, the admin page gives 403. This is on a network where everyone is logging in via VPN, the client IP is randomly assigned from a relatively large pool so I can't configure just a few specific addresses. Is this approach unsupported? |
|
OK, with the |
I found the problem:
In my conf file i had :
"trusted_ips": "*"
and when i added the ip of the proxy like"trusted_ips": ["172.17.0.6"]
it worked perfectly.Now my problem is that the ip of the proxy is not static because is inside of a kubernetes pod meaning that each time the pod is reloaded a new static ip is assigned, however i can access the pod using dns "myproxy" like in
http://myproxy:5000/endpoint
hence i tried"trusted_ips": ["myproxy"]
but sadly didn't workIs there any form for use the proxy auth without set ip? or use the dns ?
Originally posted by @oktorok in #289 (comment)
The text was updated successfully, but these errors were encountered: