Open justabaka opened 6 years ago
Denying RFC1918 blocks is certainly a good start, but these are definitely not the only ones which are private.
I'd suggest to also deny the following ones:
192.0.2.0/24
, 198.51.100.0/24
, 203.0.113.0/24
)224.0.0.0/4
)255.255.255.255/32
)RFC5735 (which is updated by RFC6598) has a more complete list of reserved address blocks at section 4.
BTW for IPv6 the FC00::/7
block is also considered local (see RFC4193).
That would be great in terms of security if you're also hosting other VMs or projects your proxy users shouldn't be able to access directly.