Skip to content

Commit

Permalink
Merge pull request #2694 from vitorbaptista/patch-1
Browse files Browse the repository at this point in the history
Trust proxies in local IPs
  • Loading branch information
jbrooksuk committed Oct 27, 2017
2 parents e2b73e7 + 981b440 commit 9b5ec77
Showing 1 changed file with 7 additions and 1 deletion.
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

0 comments on commit 9b5ec77

Please sign in to comment.