How to test proxies in Linux command line interface?

You can easily use our proxies within the Linux CLI using any command-line tool you love. Below we have collected some instructions on how to use CURL and WGET to send HTTP requests using our proxies.

Before you issue the requests, make sure your server IP address is authorized in our system.

1. Get the server public IP address by using the following command.
$ curl http://ip.ip-check.net

2. Under the account control panel, make sure that the server's public IP address we got in step 1 above is authenticated to use the proxies.

3. Here are the commands for WGET and curl respectively to issue requests using a proxy.

$ wget -e use_proxy=yes -e http_proxy=127.0.0.1:8800
$ curl -x http://127.0.0.1:8800 -I https://ip-check.net

Note: We need to change 127.0.0.1:8800 with the proxy IP and port you have been assigned in your account control panel.

  • 37 Users Found This Useful
Was this answer helpful?

Related Articles

How to use a proxy in an Ipad/Iphone?

On the screen, click on Settings. Click on Wi-Fi and you will see list of networks on the...

How to use a proxy in Android?

Go to Settings. In Wireless and networks, click on Wi-Fi On Wi-Fi, click the router you want to...

How to use a proxy in Chrome?

Click the Chrome menu on the  browser toolbar. Select Settings. Scroll down. Click "Show...

How to use a proxy in Mac OS?

Choose Apple menu > System Preferences, then click Network. Choose the network service you...

How to use HTTP proxies in Python2?

1. Create a file called testproxy.py, containing:...

Powered by WHMCompleteSolution