This project integrates the Path.net API with WHMCS, allowing you to manage firewall rules, filters, and view attack history directly through your WHMCS interface.
Firewall Rules Management
Filters Management
Attack History
IP Ownership Verification
Clone the Repository
Clone or download the repository into your WHMCS /modules/addons/ directory.
Configure API Key
Open the ajax.php
file and go to line 8. Replace the placeholder API key with your actual Path.net API key:
$api_key = "YOUR_PATHNET_API_KEY_HERE";
Set the IP Range
Open the pathnet_module.php
file and locate lines 54 and 64. Configure these lines to specify the IP range for your deployment.
For example, if your IP range starts with 45.
, set these lines to cover that entire range (e.g., all IPs starting with 45.
).
Ensure WHMCS Compatibility
The module provides several AJAX actions that can be triggered from within WHMCS:
ruleData
parameter that matches the destination IP.ruleId
.filterData
must include an addr
that matches the specified IP.filterId
and filterName
.The module is optimized for the Lagom2 theme. If you are using another theme, additional modifications may be required in the templates/overview.tpl
file to ensure proper display and functionality.
API Key Protection:
Ensure your Path.net API key is kept secure and not exposed publicly.
Access Control:
The module verifies IP ownership using WHMCS’s localAPI
, so only authorized users can modify or view data related to their IP addresses.
Data Validation:
Validate all inputs appropriately when integrating or extending the module.
Be the first to review Path.net Module for WHMCS.
The best place to start if you need help with a specific product is to contact the developer. All WHMCS Marketplace developers have both a website and support URL listed.
Release
Resell VPS & Cloud Dedicated Products from Liquid Web
Automate the sale of VPS servers & give your clients the ability to completely manage their VPS server inside of WHMCS, using the industry leading SolusVM control panel.