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

Trust proxies in local IPs #2694

Merged
merged 2 commits into from
Oct 27, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion config/trustedproxy.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
| within TrustedProxy to trust any proxy; a requirement when you cannot
| know the address of your proxy (e.g. if using Rackspace balancers).
|
| By default, we are trusting CloudFlare only.
| By default, we are trusting local IPs and CloudFlare only.
|
*/

Expand All @@ -50,6 +50,12 @@
'2803:f800::/32',
'2c0f:f248::/32',
'2a06:98c0::/29',

// Local IPs
'10.0.0.0/8',
'172.16.0.0/12',
'192.168.0.0/16',
'fc00::/7',
],

/*
Expand Down