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.

  • 58 Users Found This Useful
Was this answer helpful?

Related Articles

Proxy Manager Guide

1.    Go to http://squidproxies.com/proxymanager/ProxyManager-v1.zip     2.    Save the File...

How to use HTTP proxies in PHP code?

  We support PHP code as long as the CURL library is enabled. 1. Create a file called...

How to use a proxy in Firefox?

Go to Tools > Options.Click on Advanced> Network > Settings.In Connection Settings,...

How to use HTTP proxies in Python2?

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

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...

Powered by WHMCompleteSolution