For starters, this is not a web server. I would like to allow or deny HTTP methods on various ports on the server itself.
Ideally could write rules like UFW only extended to include the HTTP method
ufw allow 80 -method GET -deny POST,PUT,DELETE
Is there any lightweight solution to this?
Thank you. The servers typically run products such as elasticsearch, redis, etc. and It would be great to only allow those operations from certain IP's on their various ports.