Private proxies


List all IP addresses available on a linux server

This article deals with Linux based systems.

While working with a server with many IP addresses you may need to list all of the IP addresses on the server. Most commands may give you more information than you may need. To get a list of only the IP addresses use the following command:

The IP address available on the server will be displayed in a list like this:

I have found that this makes it easier to cut and paste into a text file and then later add the IPs to a database.

Use a proxy with PHP and CURL

Here is a simple script to use a proxy in PHP with CURL.

This is an example if you are using IP authentication with the proxies:

If you are using the proxies with username/password authentication use the following code: