OiO.lk Blog security Issue with IP Blocking and Allowing in Ocelot Configuration
security

Issue with IP Blocking and Allowing in Ocelot Configuration


I configured IP blocking and allowing in Ocelot using SecurityOptions, but it’s not working.

{
  "GlobalConfiguration": {
    "BaseUrl": "http://localhost:5000",
    "SecurityOptions": {
      "IPBlockedList": ["192.168.0.23"]
    }
  }
}


The IP blocking configuration is not working as expected.



You need to sign in to view this answers

Exit mobile version