Limiting certain user logins by location

Description

We are currently piloting RC in an environment that has a main office with a few branch offices. Users are all defined in Active Directory with a LDAP link to RC.

98% of the users will only ever access RC from inside the network, never outside of it. However, there are a couple of users who would access it externally.

Is there a way to prevent those 98% of users from logging in outside of the network while allowing the few exceptions?

Server Setup Information

  • Version of Rocket.Chat Server:
  • Operating System: 5.4.3
  • Deployment Method: sma[
  • Number of Running Instances: 1
  • Firewalls involved: Fortigate