In this article, we will let you know ‘How to Enable IP Restriction for WHM Access’ through our Server support team
Users can manage multiple websites and hosting accounts using the well-known WebHost Manager (WHM) control panel. For security purposes, you might want to limit access to WHM to only a select few IP addresses as the server owner or administrator. Host Access Control can help in this situation.
With WHM’s Host Access Control security feature, you can limit access to particular services, like WHM, based on IP address. The risk of unauthorized access or attacks is decreased by enabling IP restriction through Host Access Control, which makes sure that only trusted IP addresses can access WHM.
- In the Port text box, type the port number.
- In the IP Address/CIDR text box, enter the IP address, CIDR subnet mask, or comma-separated list of IP addresses.
- In this text box, wildcards are acceptable.
- IPv6 addresses do not need to be enclosed in square brackets ( [ ] ).
- By entering a comma-separated list of IP addresses or a CIDR subnet mask, you can apply your rule to a number of different IP addresses.
- Add /NUMBER to your IP address to add the CIDR subnet mask. NUMBER is the number of network bits that an IP address must match in order to be subject to your rule.
=> The first 24 bits of the requesting IP address (the first, second, and third numbers in the IP address) must match the rule IP address in the IPv4 example 192.168.0.0/24. As a result, all IP addresses in the 192.168.0.1–192.168.0.254 range will comply with the rule.
=> The first 64 bits of the requesting IP address must match the rule IP address in the IPv6 example 2001:0db8:0:0:1:0:0:1/64. Due to the fact that IPv6 uses 128-bit addresses, all IP addresses in the range of Meeting the rule is 2001:db8:abcd:0012:0000:0000:0000:0000 – 2001:db8:abcd:0012:ffff:ffff:ffff:ffff
- From the Protocol menu, pick either the TCP or UDP protocol.
- Choose the appropriate action for the port from the Action menu.
- To permit the IP addresses in the range to access the port, use the ACCEPT action.
- To block the IP addresses in the range without a rejection message, use the DROP action.
- To block the IP addresses in the range and send a rejection message, use the REJECT action.
- To add the rule, click Add Rule. The rule will apply and be listed in the Current Rules table.
You can now successfully enable IP restriction for WHM access through Host Access Control by following these steps. All other IP addresses will be blocked from accessing WHM, leaving only the ones you have whitelisted. Your server and hosting accounts’ security and integrity are thereby improved.
Conclusion
If you have any queries kindly get in touch with our Server support team.