Skip to content

Local Proxy Forwarder: gost and 3proxy for Proxy Login

Let the forwarder on 127.0.0.1 carry the login, and point the tool at the local port.

When a local forwarder helps

Some tools only have two proxy fields, host and port. Others take a SOCKS5 address but never send the username and password. Chrome is a familiar case: its documentation says no authentication methods are supported for SOCKSv5. A proxy that needs a login cannot be used there directly.

A forwarder fixes this without touching the tool. It listens on your own machine, accepts connections with no login, and opens the real connection to the proxy with the login you wrote into it. The tool never sees the password.

Check first whether you need one

If the tool accepts a proxy URL, try http://LOGIN:PASSWORD@HOST:PORT before adding a forwarder. A per-IP static lease on Proxy302 also connects over the other protocol on that protocol's port, so an HTTP address on port 2222 is often enough for tools that dislike SOCKS5 logins.

Use a forwarder when the tool has no place for the login at all, when it ignores it, or when you want the password kept out of the tool's settings file.

gost: one command

gost takes a local listener with -L and the next proxy with -F. A user:pass@ in the -F address is how the login is passed on. Bind the listener to 127.0.0.1 so only programs on your own computer can use it; an empty host listens on every interface.

If the password contains @ : / or #, percent-encode them in the URL, for example @ becomes %40.

gost commands

# HTTP listener on the loopback address, forwarding to a SOCKS5 proxy that needs a login
gost -L http://127.0.0.1:8080 -F socks5://LOGIN:PASSWORD@HOST:3333

# Same idea, but the local port speaks SOCKS5 and the next hop is an HTTP proxy
gost -L socks5://127.0.0.1:1080 -F http://LOGIN:PASSWORD@HOST:2222

Example only: replace HOST, LOGIN and PASSWORD with the values from My assets. Use port 3333 for a SOCKS5 IP and 2222 for an HTTP IP.

3proxy: a config file

3proxy reads a config file in order. auth iponly checks clients by the access list instead of a login, allow limits who may connect, parent names the next proxy with its login and password, and the proxy line starts the local service. The parent line must come after the allow rule it belongs to, and -i127.0.0.1 keeps the service on the loopback address.

For several local ports with different logins, repeat the allow, parent and proxy lines for each port. Starting a second block with flush clears the earlier rules, so each port keeps its own next hop.

3proxy config for one local port

auth iponly
allow * 127.0.0.1
parent 1000 socks5 HOST 3333 LOGIN PASSWORD
proxy -p8080 -i127.0.0.1

Example only: save as 3proxy.cfg and start with 3proxy 3proxy.cfg. Replace HOST, LOGIN and PASSWORD.

3proxy config for two local ports

auth iponly
allow * 127.0.0.1
parent 1000 socks5 HOST1 3333 LOGIN1 PASSWORD1
proxy -p8080 -i127.0.0.1

flush
allow * 127.0.0.1
parent 1000 socks5 HOST2 3333 LOGIN2 PASSWORD2
proxy -p8081 -i127.0.0.1

Example only: port 8080 goes to one IP and port 8081 to another.

gost or 3proxy

gost or 3proxy
Itemgost3proxy
SetupOne command, no fileA config file, run as a service
Many local ports with different loginsOne process per command, or a config fileRepeat the blocks in one file
Where the login is writtenIn the command line, visible in process listsIn the config file, which you can lock down

Based on the gost and 3proxy documentation read on 13 November 2026; the choice is about convenience, both do the same job.

Use it with a Proxy302 IP

  1. Step 1

    Open My assets, click the IP and copy the host, port, username and password. The protocol badge tells you whether the port is HTTP (2222) or SOCKS5 (3333).

  2. Step 2

    Start gost or 3proxy with those values, as in the examples above, bound to 127.0.0.1.

  3. Step 3

    In the tool, set the proxy to 127.0.0.1 and the local port (8080 in the examples), with the type that matches the listener: HTTP for -L http://, SOCKS5 for -L socks5://. Leave username and password empty.

    Expected result The tool connects without a login prompt.

  4. Step 4

    Check the exit with the command below. The country and network should be the ones you bought.

Check the exit through the forwarder

curl -x http://127.0.0.1:8080 https://ipinfo.io/json

Example only. It should print the IP details of the proxy, not of your own connection.

When it does not work

Connection refused on 127.0.0.1

Check Is the forwarder still running, and is the port the one in the tool?

Fix Start it again and keep its window or service running while you use the tool.

The tool connects but pages do not load

Check The listener type must match the tool: HTTP listener for an HTTP proxy field, SOCKS5 listener for a SOCKS5 field.

Fix Change the -L scheme, or the type in the tool, so they match.

407 or a login error from the proxy

Check Copy the username and password again; percent-encode special characters in the gost URL.

Fix Test the same login with curl and the proxy address directly, without the forwarder.

Stop when If curl directly also fails, the problem is the IP or lease, not the forwarder. Send the order number to Support.

The IP shown is your own

Check The tool may ignore its proxy field or use another path.

Fix Check the tool's own proxy settings, then use the curl check above to prove the forwarder works.

Keep the forwarder private

Bind it to 127.0.0.1 and not to every interface. A forwarder reachable from the network would let other people send traffic through your login. On a server, also close the local port in the firewall.

Do not leave the password in shared shell history or in a script others can read. A 3proxy config file with limited permissions is easier to protect than a long command line.

FAQ

Why does my tool not accept a SOCKS5 username and password?

Many tools only implement SOCKS5 without a login. Chrome is one: its documentation says no authentication methods are supported for SOCKSv5.

Is gost or 3proxy easier?

gost is one command for a single proxy. 3proxy suits several local ports in one config file.

Which address do I give the tool?

127.0.0.1 and the local port from the -L option or the proxy -p option, with no username and password.

Does the tool see my proxy password?

No. Only the forwarder has it, in its command or config.

Does this work with a static ISP IP from Proxy302?

Yes. Use the host, port and login from My assets; port 3333 is SOCKS5 and port 2222 is HTTP.

Reference links

6
  1. gost documentation: SOCKS (go-gost/docs)

    Official documentation · Confirmed on:

    Read on 13 November 2026: credentials go in the URL as user:pass@ in a gost -L listener; SOCKS5 CONNECT over TCP is on by default; UDP ASSOCIATE and BIND are off by default.

  2. gost documentation: proxy concept (go-gost/docs)

    Official documentation · Confirmed on:

    Read on 13 November 2026 (documentation source): gost -L http://:8080 -F relay+wss://gost:gost@:8420 shows -F taking a URL with user:pass@; -L sets the listener, -F the next hop.

  3. 3proxy configuration manual (3proxy.cfg)

    Official documentation · Confirmed on:

    Read on 13 November 2026: parent <weight> <type> <ip> <port> <username> <password> must follow an allow rule; auth iponly authenticates by access list; -p sets the port and -i the address a service accepts connections on (any interface by default).

  4. 3proxy how-to examples

    Official documentation · Confirmed on:

    Read on 13 November 2026: layout auth iponly / allow * / parent 1000 socks5 HOST PORT / proxy -p3128 -i127.0.0.1; commands run in order and the service line comes last.

  5. Chromium notes on proxy settings

    Official documentation · Confirmed on:

    Read on 13 November 2026: no authentication methods are supported for SOCKSv5 in Chrome; --proxy-server takes a URI such as http:// or socks5://.

  6. Proxy302 product facts and price list

    Product observation · Confirmed on:

    Product facts file of the site, checked 10 November 2026: gateway proxy.proxy302.com, HTTP port 2222 and SOCKS5 port 3333; each static IP is issued with one protocol; a per-IP lease also connects over the other protocol on that protocol's port.

Ready to try it?

Create an account, top up once, then pick rotating residential, static ISP or datacenter IPs and have one running in your browser within minutes.