IP Address Restriction
IP Address Restriction is a whitelist-based access control that allows login only from pre-registered trusted IP addresses.
Why Use IP Address Restriction
In addition to login URL changes and password protection, limiting which networks can access the login page in the first place eliminates the possibility of attacks at the source.
This is particularly effective in the following scenarios:
- Office environments with static IPs: Access the admin dashboard only from the corporate network
- VPN-based access: Allow only VPN server IPs
- Limited number of administrators: Allow only specific individuals' IPs
Note: If you use a dynamic IP (residential internet), your access may be interrupted each time your IP changes. For dynamic IP environments, reCAPTCHA or OTP authentication is recommended over IP restriction.
Configuration
- Navigate to SentinelSecurity → Login Security → IP Restriction
- Toggle the switch to Enabled
- Enter trusted IP addresses in the Allow List, one per line
- Click Save
Input Formats
The following formats are supported:
| Format | Example | Description |
|---|---|---|
| Single IP | 203.0.113.50 | Allow a single IP address |
| CIDR Notation | 192.168.1.0/24 | Allow an IP range (192.168.1.0–192.168.1.255 in this example) |
| IPv6 | 2001:db8::1 | IPv6 addresses are also supported |
CIDR Notation Examples
| CIDR | Range | Number of IPs |
|---|---|---|
/32 | Single IP | 1 |
/24 | xxx.xxx.xxx.0–255 | 256 |
/16 | xxx.xxx.0.0–255.255 | 65,536 |
Behavior Behind Proxies and CDNs
When using a CDN like Cloudflare or a reverse proxy, the client's real IP address is stored in specific headers. SentinelSecurity retrieves the client IP in the following priority order:
HTTP_CF_CONNECTING_IP(Cloudflare)X-Forwarded-ForX-Real-IPREMOTE_ADDR
How to Check Your IP Address
You can check your current IP address using any of the following methods:
- Search "my ip address" on Google
- Run
curl ifconfig.mein the terminal - Check the "Your IP" info displayed on the SentinelSecurity dashboard
Notes
- IP restriction applies only to login page access. Public-facing pages are not affected
- Do not enable this feature with an empty Allow List — all users will be locked out
- Keep FTP access available as a fallback in case your IP address changes