dustinmoris / Firewall

ASP.NET Core middleware for IP address filtering.
Apache License 2.0
220 stars 36 forks source link

Except From Localhost not allowing requests from "::1" #14

Closed Crownpack07 closed 7 months ago

Crownpack07 commented 7 months ago

I might be missing something but it seems when I hit my service from localhost the remote Ip address is set to "::1" which is not allowed (see screenshot below)

image

Is this not supposed to be allowed as part of the localhost rule?

Crownpack07 commented 7 months ago

I have found my issue, it was related to the order in which the middleware was registered when using yarp