Guide to Deploy HTTP and SOCKS Proxies with Private DNS
The following server specifications with additional IP addresses can easily be requested or configured using any cloud hosting provider.
Minimum Proxy Server Requirements
- 1GB memory
- 2GHz 1 core CPU
- 10GB storage
- An installation of IPBot Free or an IPBot Cloud Dashboard account
- A default installation of one of the following:
- Linux Debian 9
- Linux Ubuntu 18.04
For high-traffic proxy servers with thousands of IP addresses, it's recommended to use higher specifications with multiple CPUs, at least 8GB memory and 100GB+ storage.
Table of Contents
This guide is divided into 6 easy sections:
- Purchase a Proxy Server
- Add the Proxy Server
- Create Nameserver Processes
- Create Proxy Processes
- Activate the Proxy Server
- Deploy the Proxy Server
Purchase a Proxy Server
Choose your hosting provider and purchase a server with root access. This can be a dedicated server, VPS, cloud VM, etc.
Additional IP addresses are optional, but it's recommended to use at least 2 IPs per server:
- 1 IP for the HTTP and SOCKS proxy processes
- 1 IP for the internal DNS process
Log in using the command prompt once your hosting provider provisions your server and sends the root SSH pasword. For example, if your main server IP is 10.7.8.9, log in as the root user with:
Then enter the provided password. After you're logged in, change the default root password to a more secure password using:
Add the Proxy Server
After the root password is changed, you're ready to add the server in the IPBot control panel.
For this guide, we'll use the https://ipbot.com website control panel.
Let's also pretend your host delivered a server with these IPs:
- OS Debian 9
- Main IP 10.7.8.9
- Additional IPs 10.7.8.9-10.7.8.109 (101 usable IPs)
First, log in to the control panel and navigate to the Servers page.
If this is your first proxy server deployment, the page looks like this:
Select the Create Server button and enter the provided server details accordingly:
If you'd like to use the main server IP as a usable proxy IP, select Use Primary Server IP as Additional Usable IP.
Review your server details and select the Add Server button.
If the server was created successfully, the next page looks like this:
Then, select the server you just created. The next page looks like this:
Create Nameserver Processes
The next step is to create nameserver processes for your server.
Select the server icon with the upward-facing arrow titled Manage server DNS processes. This page will show up:
Select the Create Nameserver Process button and enter the provided server details accordingly:
Since we're creating local DNS in this example, select the Create DNS Process on Same Server checkbox. If you want to use an external public DNS IP, unselect this checkbox.
The Nameserver Listening IP is the IP address your server will use for DNS requests. Since we're going to use private local DNS, let's use the default 127.0.0.1 localhost as the listening IP.
The Nameserver Source IP is the DNS IP address websites will see when you send requests. Let's use 10.7.8.90 as the source IP for this guide.
The Nameserver Priority is an optional setting for the sort order of DNS processes for each proxy process.
Let's leave this blank since we're only creating 1 DNS process for now.
Review your nameserver details and select the Add Nameserver Process button. The next page looks like this:
Select the Close button to return to the server details page.
Create Proxy Processes
The next step is to create HTTP and/or SOCKS processes for your server.
Select the server rack icon titled Manage server proxy processes. This page will show up:
Select the Create Proxy Process button and enter the provided proxy process details accordingly:
The Proxy Process Ports are a list of ports this process will use. Proxy requests to each port are distributed evenly, so more than 1 port is recommended for load balancing purposes.
The Proxy Process Type can be either HTTP or SOCKS.
Select at least 1 of your created Proxy Process DNS IPs to be used with this proxy process.
Review your proxy process details and select the Add Proxy Process button. The next page looks like this:
Create as many processes as needed with these steps for your server specifications and traffic demands.
Once this is done, select the Close button.
Activate the Proxy Server
After you've created the minimum amount of proxy processes, you're ready to activate the proxy server.
Navigate to the main Servers page again.
Select the checkbox for the server you're going to activate and then select the first icon titled Activate selected server.
The next page looks like this:
Review your server details and select the Confirm Activation button.
Deploy the Proxy Server
After you've confirmed activation, the proxy server's ready to be deployed.
Log in again using the command prompt to your main server IP:
Copy, paste and run the following 2 commands:
cd / && apt-get -y update && apt-get -y install php --fix-missing && wget -O install.php https://ipbot.com/resources/files/install.php?1593310822
php install.php API_KEY URL
Set the API_KEY to the server's API key. You can find this by logging in to the control panel and navigating to the Servers page.
Select the checkbox for the server you're going to deploy and then select the third icon titled Manage Server API Key. The next page looks like this:
Set the URL to the website that's hosting your control panel. If you're going to use IPBot Cloud Dashboard, set the URL to https://ipbot.com.
For example, if the URL is https://ipbot.com and your API key is 12345678910, the command would be:
php install.php 12345678910 https://ipbot.com
This process should take between 5-10 minutes to complete.
The entire installation script is open source so you can make sure there's no funny business.
If there are any fatal errors during installation or if the server loses connection, just run the install.php script again. There are multiple external package sources and potential points of failure, so it's designed with that in mind.
If specific errors persist, feel free to contact support with details so they can be resolved.
Then, navigate to the Servers page again in your control panel.
Select the checkbox for the server you're going to deploy and then select the second icon titled Deploy selected server. The next page looks like this:
The final step is to review your server details and select the Confirm Deployment button.
After your first proxy server is successfully deployed, you can either add more or start using your proxies in the control panel.