Use Proxy in HTTP and SOCKS5 Format

XProxy generates 4 proxy types per device. This guide explains the port scheme, how to use proxies on LAN vs public internet, and how to configure credentials.

Proxy port scheme

By default, XProxy generates 4 proxy types from each device (dongle or Android phone):

TypeProtocolPort (device #1)
IPv4 HTTPHTTP4001
IPv4 SOCKS5SOCKS55001
IPv6 HTTPHTTP6001
IPv6 SOCKS5SOCKS57001

Device #2 uses ports 4002, 5002, 6002, 7002 — and so on.

IPv6 proxies are only generated if your SIM card and carrier support IPv6.
4 proxy types generated by XProxy

Using proxies on LAN

If your computer is on the same network as the XProxy server, you can use proxies immediately — no credentials needed.

proxy format
http://192.168.1.13:4001
socks5://192.168.1.13:5001
Using proxy on LAN with FoxyProxy

Note: 192.168.1.13 is the local IP of the XProxy server. FoxyProxy is a Firefox add-on that automatically switches connections across proxy servers.

Using proxies from outside your network

To use proxies from a remote location, you need to:

  1. Configure NAT/DMZ on your router — see NAT Forwarding guide.
  2. Set up proxy credentials (username/password or IP whitelist) — see below.
Using proxy from public internet

Note: The Proxy IP address or DNS name field should be the public IP of the XProxy server or your DDNS domain — not the public IP of a specific port.

Configure proxy credentials

XProxy supports two credential types:

  • Username / Password — authenticate with a user:pass pair.
  • IP Whitelist — only allow connections from specific IPs.

Configure credentials for all ports at once in General Settings → Proxy Setting, or per port for fine-grained control.

Credential configuration for all ports

Per-port configuration is useful when sharing proxies across different projects or users:

Credential configuration per port

Per-port credential syntax

Format: port[:end_port]:user:pass:ip_whitelist — use Any to skip a field.

config
# IP whitelist authentication
4001:Any:Any:14.125.222.111,14.125.222.23
4002-4005:Any:Any:14.125.111.222

# Username / password authentication
4001:user1:pass1:Any
4002-4005:user2:pass2:Any