Custom Proxy Providers
With PNP you can resell proxies from any provider. The wordpress plugin comes with 2 "default providers": Luminati and Smart Proxy.
If you want to add proxies from another source, you can create a "custom provider". (At the time of writing, the API only supports custom providers. You can still use luminati and Smart Proxy with the API, you'll just need to add them as custom providers.)
We'll go through custom providers in the context of the wordpress plugin, however the same concepts apply to the API.
To add a custom provider, first go to the PNP admin dashboard in wordpress. Navigate to "proxy providers > custom providers". Click the green + button on the right to add a custom provider. Give it a name and click save.
Next you'll add regions. A region is a location, like "New York". These are the regions that will be shown in the regions dropdown on the proxy gen dashboard when a user is generating proxies.
To add a region, click the green + button on the right and enter a name. This is the region name that will be shown to the user. The "short name" will be generated for you if you leave it blank. You don't need to worry about what the shortname does, in fact, the option to set it manually will someday be removed.
Now that your newly created region is in the table, click the blue button with the pencil on it to go to the "proxy groups" page for this region.
The word "proxy group" may sound confusing, but it's just a container for individual proxies. Rather than storing each proxy individually, we store it in a "proxy group".
So, click the green + button to add a proxy group to the region. This will take you to a wizard that will give you 3 options for adding proxies.
- - Input a single proxy as a string (ip:port:user:pass)
- - Auto generate proxy strings in port range
- - Upload proxy list
You'll enter a name for this proxy group, then choose an option.
The first option is fairly self explanatory.
The second option generates the proxy strings for you in a port range, in the format ip:port:user:pass. This could save you the option of manually typing them, or having to write a script.
The last option is also fairly self explanatory. You can upload a list of proxies in the format ip:port:user:pass. (Note: for all options, proxies can also be in the format domain:port:user:pass)
The last step in the wizard will be to select whether the proxies rotate on every request. Not whether you want them to rotate, but whether they already do.
Click "done", and that's it. Congratulations, you've added a custom provider.
The last step is to add the custom provider to a "proxy network". The proxy network will now use proxies from the custom provider.