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:

  1. Purchase a Proxy Server
  2. Add the Proxy Server
  3. Create Nameserver Processes
  4. Create Proxy Processes
  5. Activate the Proxy Server
  6. 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:

ssh root@10.7.8.9

Then enter the provided password. After you're logged in, change the default root password to a more secure password using:

passwd root

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:

IPBot server management page screenshot 1

Select the Create Server button and enter the provided server details accordingly:

IPBot create server page screenshot

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:

IPBot server created successfully screenshot

Then, select the server you just created. The next page looks like this:

IPBot server details screenshot

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:

IPBot server DNS processes screenshot

Select the Create Nameserver Process button and enter the provided server details accordingly:

IPBot create DNS process screenshot

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:

IPBot DNS process created successfully screenshot

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.

IPBot server details screenshot

Select the server rack icon titled Manage server proxy processes. This page will show up:

IPBot server proxy processes screenshot

Select the Create Proxy Process button and enter the provided proxy process details accordingly:

IPBot create proxy process screenshot

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:

IPBot create proxy process screenshot

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.

IPBot server management page screenshot 1

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:

IPBot activate server page screenshot

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:

ssh root@10.7.8.9

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:

IPBot server API key page screenshot

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.

IPBot server management page screenshot 2

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:

IPBot deploy server page screenshot

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.