Enabling file uploads for specific ip

Description

Server Setup Information

  • Version of Rocket.Chat Server: 6.4.5
  • Operating System: rhel
  • Deployment Method: docker
  • Number of Running Instances:
  • DB Replicaset Oplog:
  • NodeJS Version: 14.21.3
  • MongoDB Version: 5.0.23
  • Proxy:
  • Firewalls involved:

Any additional Information

We just recently upgraded our rocketchat to 6.4.5. Everything is working well but we are trying to implement something that only allows file uploads from a specific ip range. We are in a closed, air-gapped environment and our rocketchat server is dual-nic’d. We are trying to allow file-uploads only from one ip range. We’ve been told it can be done (not for rocketchat specifically) but having a hard time figuring out where to implement the configurations.

Would we input that configuration into the httpd conf file or would it need to be done elsewhere?