Luminati Proxy manager
A forward HTTP/HTTPS proxy on your side, to accelerate/compress/rotate/distribute/manage/monitor/report/log/debug traffic to your proxies around the world.
With Luminati HTTP/HTTPS Proxy manager you can drive the Luminati residential IPs or Luminati static IPs.
This tool requires a Luminati account.
Read this in 中文.
Features
- Highly scalable
- Connection pool for faster response time
- Easy setup for multiple configurations using a simple web interface
- Statistics
- Automatically rotate IP every X requests
- Load balancing using multiple Super Proxies
- SSL analyzing (using a self-signed certificate)
- SOCKSv5 proxy
Installation
Windows
Download the Luminati Proxy Manager installer
Linux/MacOs - Install script
- Run the setup script to install
wget -qO- https://luminati.io/static/lpm/luminati-proxy-latest-setup.sh | bash
Or
curl -L https://luminati.io/static/lpm/luminati-proxy-latest-setup.sh | bash
Linux/MacOS - Manual install
- Install Node.js 6 or above (nodejs.org)
- Make sure npm version is 4.6.1 or higher
- if not, run:
sudo npm install -g npm@4.6.1
- if not, run:
- Install Luminati Proxy from the terminal prompt:
sudo npm install -g @luminati-io/luminati-proxy
If the command is returning an error try installing using --unsafe-perm flag
sudo npm install -g @luminati-io/luminati-proxy --unsafe-perm
Upgrade
- Use npm to upgrade
sudo npm install -g @luminati-io/luminati-proxy
Specific Version
-
To install a specific proxy manager version, choose a version from releases
-
Run (VERSION_NUMBER is the version you've chosen (example: 1.75.355)):
sudo npm install -g @luminati-io/luminati-proxy@VERSION_NUMBER
Release Notes
You can review the CHANGELOG.md for list of changes in every version
Usage
First run
After running the app for the first time:
luminati
Point your browser to the app admin UI http://127.0.0.1:22999 to set up credentials and configure your proxies.
After logging in, you will see that the default configuration for the Luminati proxy includes a "dropin" proxy running on port 22225. This mode is explained in detail below.
Dropin replacement for existing super-proxies
Luminati Proxy comes with a "dropin mode" which behaves exactly like the existing super-proxies. When running a proxy in dropin mode, you do not need to log in via the administrative UI in order to make requests through your proxies. Rather, the proxy username and password are provided with each request to the proxy server. This mode is enabled by default, and you can use this mode as an easy replacement when migrating from the regular super-proxy to the Luminati Proxy Manager.
Dropin mode is enabled by default. To disable the dropin proxy, use the flag
--no-dropin
:
luminati --no-dropin
For full documentation on the API for making requests through the dropin proxy, see the API Example page in your Luminati.io account.
Complete list of command line options
luminati --helpUsage: luminati [options] config1 config2 ... Options: --port, -p Port
Docker
A docker image can be found on https://hub.docker.com/r/luminati/luminati-proxy/
docker pull luminati/luminati-proxy docker run luminati/luminati-proxy docker run luminati/luminati-proxy luminati --version
Make sure to forward appropriate ports. Proxy manager uses by default 22999 for the web console and the api, 22555 for dropin and 24000 for first configurable proxy.
Docker with predefined config file
To use lpm's config file, docker volumes can be used: https://docs.docker.com/storage/volumes/
Following this instructions will make your docker runs with specific config file:
- create volume
docker volume create lpm-vol
- Inspect the recently creaed volume
docker inspect lpm-vol
Should output something like this:
[ ]
- Take the mountpoint path /var/lib/docker/volumes/lpmvol/_data and run
cd /var/lib/docker/volumes/lpmvol/_data
- put .luminati.json to this directory (here also will be the logs and other files generated by the container)
- run docker image and attach this volume:
docker run --rm --name 'lpm1' --mount source=lpmvol,target=/root"luminati/luminati-proxy" luminati
SSL Requests
The --ssl parameter is for SSL analyzing, HTTPS requests can be made without it.
Help
The FAQ can be found on the luminati FAQ
If you do not find the answer there, feel free to open an issue on github.
Or contact support@luminati.io.
REST API
Working documentation of the API can be found inside the app.
A non-working version of it can be found here
Node.js API
The proxy manager can be used as a required module for node.js applications - eliminating the need to run it as a standalone process.
The API supports both Promises and Generators. Internally, it uses the request module and supports all of its features.
Promises
'use strict';const Luminati = Luminati; const proxy = customer: 'CUSTOMER' // your customer name password: 'PASSWORD' // your password zone: 'gen' // zone to use proxy_count: 5 //minimum number of proxies to use for distributing requests;proxy;proxy;
Generators
'use strict';const etask = ;const Luminati = Luminati; ;