How to manage multiCDN domains in HiddifyManager
Managing Clean IPs and Multiple CDN and AutoCDN Domains in Hiddify Manager
In this article, we explore strategies for managing clean IPs tailored to different operators and setting up multiple CDN domains in Hiddify Manager. These methods optimize configuration and improve connection stability for users. This page is for Hiddify Manager v14.5, where all of this is set in the Force configs to use these IPs / domains field of a CDN domain (Domains › pencil › Advanced). Since v13 there is no separate AutoCDN domain mode: see How to use AutoCDN IP domain.
Using Clean IPs for Different Operators
Step 1: Scanning Clean IPs
The easiest way is the panel's own Scanner (Tools › Scanner, or Open the scanner under the field): it scans Cloudflare IPs on your internet and saves the best ones in the field, per operator. You can also use other scanners, such as the Morteza Bashsiz Scanner (it also has an Android version). See Guide for finding a clean Cloudflare IP.
Step 2: Clean IP Format for Operators
To define clean IPs for different operators, write the address (an IP, a range such as 104.16.0.0/24, or a host name), then the operator's code:
Some codes: MCI Hamrah Aval, MTN Irancell, RTL RighTel, MKH Mokhaberat (TCI), HWB HiWeb, SHT Shatel, AST Asiatech, PRS ParsOnline. For an operator without a code, use its AS number (for example AS12345). OTHER (or an address with no code) is for every other operator.
Alternative Methods for Clean IPs
-
Using Cloudflare IPs:
Test IPs using check-host.net. If "Cloudflare" appears in the ISP or Organization field, you can use these IPs for alternative configurations. -
Using the Main Server IP:
Direct server IPs or IPs behind subdomains can work if they perform well with specific operators. -
Using IPv6:
If the operator supports IPv6, this can be an effective solution. Ensure the client settings are adjusted to IPv6/IPv4.
Managing Multiple CDN Domains
Approach 1: Creating Subdomains with Clean IPs
-
Define CDN Subdomains:
Set up CDN subdomains with the proxy enabled:
-
Assign Clean IPs for Each Operator:
Create subdomains with the proxy disabled for each clean IP:
-
Add Subdomains in Hiddify Manager:
Assign each subdomain to its respective operator.
Approach 2: Using a Second Domain for CDN
-
Set up CDN Subdomains for the First Domain:
-
Set Clean IP Subdomains for the First Domain:
-
Create CNAME Records for the Second Domain:
Approach 3: One CDN domain with operator codes (AutoCDN)
-
Set Up a Single CDN Subdomain:
-
Write per-operator addresses in its Force configs to use these IPs / domains field:
Combining Subdomains and Tags for Optimal Configuration
To integrate clean IPs with AutoCDN features, follow these steps:
- Create a Subdomain with the Main Server IP (proxy off).
- Define Multiple Subdomains with Clean IPs for Each Operator:
Ensure that each subdomain is linked to the clean IPs you scanned. -
Set Up a CDN Domain in Hiddify Manager:
Enter three subdomains with distinct clean IPs for different operators in the Force configs to use these IPs / domains field. -
Assign Compatible Operator Tags:
Assign operator codes (e.g., MCI, MTN) to each subdomain. Each user then gets, in their configs, the subdomain of their own operator (detected from the IP they update their subscription from, so they should update it with the VPN off).
By applying these methods, you can efficiently manage your domains and IPs in Hiddify Manager, enhancing performance and reliability for your users.