Limiting connections based on subnet
May 06, 2020 11:33AM
Hi

I am new to NGINX and want to know if this is even feasible.

We have a server running a warehouse application where users can connect to a webpage on port 9060 or connect with an RF gun on port 9380

This warehouse application has multiple warehouses setup within it but each warehouse within the application will only be used by people from a certain subnet.

Is it possible to limit the number of connections to the server from a specific subnet regardless of whether they are coming in via telnet or to a webpage on port 9060.

We purchase licenses for each warehouse and need to limit the total number of connections to the number of licenses which is why I ask.
Re: Limiting connections based on subnet
May 06, 2020 04:11PM
Use 'map' to identify each subnet and this to limit:
https://docs.nginx.com/nginx/admin-guide/security-controls/controlling-access-proxied-http/#limit_conn

---
nginx for Windows http://nginx-win.ecsds.eu/
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 236
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready