Configure Proxy

This section explains how to view available proxies, filter by location, forward proxies to ports, and check your forwarding list.

1. View the Proxy Forwarding Interface

To open the proxy forwarding interface, type:

9proxy proxy -u

You will see a list of available proxies from your account.

To filter proxies by location or ISP:

  • Press F.

  • Choose your desired filter criteria (Country, State, City, ZIP code, or ISP).

  • Press Done to apply filters.

2. Forward a Proxy to Ports

From the proxy list, use the arrow keys to select the proxy you want, then press Enter.

You will see two options:

Forward to all ports

Forwards the selected proxy to all ports within your configured port range. (See Port Configuration for setup instructions.)

Forward to a port

Forwards a single proxy to one specific port in your port range.

Select your preferred option and press Enter.

Once done, the proxy will be successfully forwarded to the chosen port(s).

3. Quick Commands for Proxy Forwarding

If you prefer using terminal commands, you can forward proxies directly without opening the UI. This is useful for automation, scripting, or quick setups on headless Linux servers.

Each command follows this structure:

//command

9proxy proxy [options]

[options]: 
-c : Specify the country of the proxy you want (e.g., US, VN, UK).
-p : Specify the port number to forward the proxy to.
-n : Use a proxy from the Today List (proxies you’ve used in the last 24 hours).

### Example 1: Forward a US Proxy to a Specific Port

9proxy proxy -c US -p 60000

# This command forwards a US residential proxy to port 60000.
# Use when you want a proxy from a specific country.
# The proxy will immediately start running on 127.0.0.1:60000.

# How to test:
curl -x socks5://127.0.0.1:60000 https://ipinfo.io/json

# If successful, the result will show an IP address located in the United States.

### Example 2: Forward Any Random Proxy

9proxy proxy -p 60000

# This binds a random available proxy (any country) to port 60000.
# Use when location doesn’t matter
# The proxy connects immediately once assigned.
# Tip: If you want multiple random proxies, just change the port number each time ## (e.g., 60001, 60002, …).

### Example 3: Forward a Proxy from the Today List

9proxy proxy -n -p 60000

# This reuses a proxy that was previously active within the last 24 hours.
# Saves IPs because you don’t consume new ones.
# Ideal if you want to reconnect to the same session as earlier.
# Your proxy from the Today List is now active again on port 60000.

4. View Forwarding List

To see all proxies currently forwarded to ports, use:


9proxy proxy -n -u

This displays all proxies you’ve forwarded, along with their assigned ports and status.

5. Other Useful Commands

Command
Description

9proxy -h

View all available CLI commands and parameters.

9proxy api

Access API-related commands.

9proxy auth

Manage authentication and account information.

9proxy port

Configure and manage port settings.

9proxy proxy

The main command for viewing, filtering, and forwarding proxies.

9proxy setting

Open the configuration settings for 9Proxy.

Note

  • Ensure your port range is configured before forwarding proxies.

  • The Today List shows proxies used in the last 24 hours - forwarding from here allows you to reuse active proxies without extra cost.

  • For help, type 9proxy -h or contact support.

Last updated

Was this helpful?