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

bound_cidr_list does not work behind reverse proxy for AppRole #2782

Closed
antimack opened this issue May 30, 2017 · 1 comment
Closed

bound_cidr_list does not work behind reverse proxy for AppRole #2782

antimack opened this issue May 30, 2017 · 1 comment

Comments

@antimack
Copy link

antimack commented May 30, 2017

Vault version 0.7.0

Code: 400. Errors:

* failed to validate SecretID: source address "127.0.0.1" unauthorized through CIDR restrictions on the role

Hi, was struggling to make Vault check CIDR restriction behind Nginx reverse proxy but it seems bound_cidr_list does not work behind reverse proxy for AppRole and it's not looking or checking X-Forwarded-For, X-Real-IP in request headers. I checked with tcpdump and X-Forwarded-For, X-Real-IP passed correctly.

This is highly needed in terms of security and running Vault in production.

@vishalnayak
Copy link
Member

@antimack Please see the discussions in #291 and #799. This might also be of interest: #1340 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants