Introduction
In Perfect Gym, ensuring the security of your system data is a top priority, and controlling where your staff can access the system is a key part of that security. This feature allows you to restrict login access to the Perfect Gym Manager (PGM) to specific physical locations by whitelisting their IP addresses.
In this article, you will learn how to view the list of allowed IP addresses, add new addresses to the whitelist, delete old addresses, and understand how to manage IP restrictions.
This article will be helpful for a PG Champion, Administrator, and Club Manager.
Before you start
To complete the actions described in this guide, ensure your user profile has the following permissions enabled in the system:
SystemManager.AllowedAddress.View: To see the list of allowed addresses.
SystemManager.AllowedAddress.Add: To input new IP addresses.
SystemManager.AllowedAddress.Delete: To remove existing IP addresses.
If this is not visible then contact the Perfect Gym Support Team and ask them to turn on the AllowedAddressesModule setting in the Back Office.
Instruction
The following setting is utilized when configuring a new allowed location:
IP: This field requires the specific Internet Protocol address that you wish to whitelist. It is a mandatory field and accepts standard IP formats (both IPv4 and IPv6) up to 45 characters in length. Example:
192.168.0.1.
Configuration instructions
Follow these steps to manage the list of allowed IP addresses:
Navigate to the Settings area and locate the Allowed IP addresses page.
To Add a New Address:
Click the Add new address button located in the header area.
A modal window titled Add new address will appear.
Enter the valid IP address in the IP text box
Click the Save button to confirm the addition.
To Delete an Address:
Locate the specific IP address you wish to remove in the grid list.
Click the Delete button (represented by a trash icon) associated with that row.
A confirmation dialog will appear asking, "Do you want to delete this IP address?"
Click the Delete button to confirm the removal, or Cancel to abort.
Hints
Validation: The IP field is required. If you attempt to save without entering data, the system will prevent the action.
Field Length: The IP field has a maximum character limit of 45. This accommodates standard IPv6 addresses.
Confirmation: When deleting an address, you must interact with the confirmation popup. The deletion is not finalized until you click the Delete button in this dialog.
Success Feedback: Upon successfully deleting an entry, a green notification stating "IP address has been deleted" will appear, and the grid will automatically refresh to show the updated list.
Security: Ensure that the IP addresses added are static. If a location uses a dynamic IP, they may lose access if their ISP assigns them a new address that is not on this list.
If you don’t know your computer’s IP address, you can check it using online tools, for instance: http://www.showmyip.gr/
If your computer gets dynamic IP addresses, this will not work. You need to make sure you can have your computers use static IP address(es).
Use Case Examples
Example 1: Whitelisting Corporate Head Office
Goal: Allow access for all staff working from the main corporate building using their static IPv4 address.
Settings: Click Add new address and enter
203.0.113.10in the IP field. Click Save.
Example 2: Whitelisting a Satellite Office (IPv6)
Goal: Grant access to a new regional office that utilizes IPv6 networking.
Settings: Click Add new address and enter
2001:0db8:85a3:0000:0000:8a2e:0370:7334in the IP field. Click Save.
Example 3: Revoking Access for a Closed Branch
Goal: Remove security clearance for an office location that has recently closed down.
Settings: Locate the row containing
198.51.100.5, click the Delete button, and confirm by clicking Delete on the popup.
Example 4: Correcting an Incorrect Entry
Goal: A user accidentally entered
192.168.1.100instead of192.168.1.10.Settings: First, find
192.168.1.100and delete it using the Delete workflow. Then, click Add new address, enter the correct192.168.1.10in the IP field, and click Save.
Example 5: Whitelisting a VPN Gateway
Goal: Allow remote employees to access the system only when connected through the company VPN.
Settings: Click Add new address and enter the public IP of the VPN Gateway, for example,
172.16.254.1, in the IP field. Click Save.