Skip to content

Basic Configuration

This page provides detailed instructions for basic AdminCloud proxy configuration to help you quickly integrate and use our services.

Server Information

Proxy Server

Host: gtx.paopaous.net
Port: 38082

Supported Protocols

  • HTTP/HTTPS: Standard web proxy protocol
  • SOCKS5: Lower-level network protocol support

Authentication Configuration

Authentication Format

Username: myuser:ip:res-c:US
Password: your_password_here

Parameter Description

ParameterDescriptionExample
myuserYour usernamejohn_doe
ipFixed identifierip
res-cDynamic residential IPres-c
USCountry codeUS, UK, JP, etc.

Quick Configuration Examples

HTTP Proxy Configuration

Curl

bash
curl -x gtx.paopaous.net:38082 \
  --proxy-user "myuser:ip:res-c:US:your_password_here" \
  -L https://httpbin.org/ip

Python

python
import requests

proxies = {
    "http": "http://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082",
    "https": "http://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082"
}

response = requests.get("https://httpbin.org/ip", proxies=proxies)
print(response.json())

Node.js

javascript
const axios = require('axios');

const proxyConfig = {
  protocol: 'http',
  host: 'gtx.paopaous.net',
  port: 38082,
  auth: {
    username: 'myuser:ip:res-c:US',
    password: 'your_password_here'
  }
};

axios.get('https://httpbin.org/ip', { proxy: proxyConfig })
  .then(response => console.log(response.data))
  .catch(error => console.error(error));

SOCKS5 Proxy Configuration

Curl

bash
curl -x "socks5h://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082" \
  -L https://httpbin.org/ip

Python

python
import requests

proxies = {
    "http": "socks5://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082",
    "https": "socks5://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082"
}

response = requests.get("https://httpbin.org/ip", proxies=proxies)
print(response.json())

Node.js

javascript
const axios = require('axios');
const { SocksProxyAgent } = require('socks-proxy-agent');

const proxyAgent = new SocksProxyAgent(
  'socks5h://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082'
);

axios.get('https://httpbin.org/ip', { httpsAgent: proxyAgent })
  .then(response => console.log(response.data))
  .catch(error => console.error(error));

Browser Configuration

Chrome Browser

  1. Open Chrome settings
  2. Search for "proxy"
  3. Click "Open your computer's proxy settings"
  4. Configure HTTP proxy:
    • Address: gtx.paopaous.net
    • Port: 38082
  5. Enable "Use proxy server"
  6. Browser will prompt for username and password

Firefox Browser

  1. Open Firefox settings
  2. Scroll to "Network Settings"
  3. Click "Settings"
  4. Select "Manual proxy configuration"
  5. Configure HTTP proxy:
    • Proxy Server: gtx.paopaous.net
    • Port: 38082
  6. Check "Also use this proxy for HTTPS"
  7. OK, browser will prompt for authentication

Software Integration Configuration

Postman

  1. Open Postman settings
  2. Select "Proxy" tab
  3. Enable proxy
  4. Configure proxy server:
    • Proxy Server: gtx.paopaous.net
    • Port: 38082
  5. Save settings
  6. Add Proxy-Authorization header in requests:
    Proxy-Authorization: Basic base64(myuser:ip:res-c:US:your_password_here)

Insomnia

  1. Open Preferences
  2. Select "Proxy" tab
  3. Configure HTTP proxy:
    • URL: http://gtx.paopaous.net:38082
  4. Enable proxy
  5. Add username and password in request authentication

VS Code

  1. Install "Proxy SwitchyOmega" extension
  2. Configure proxy server
  3. Or configure in settings.json:
json
{
  "http.proxy": "http://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082",
  "https.proxy": "http://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082"
}

Mobile Configuration

iOS Devices

  1. Open Settings
  2. Click "Wi-Fi"
  3. Select current connected network
  4. Configure Proxy: Manual
  5. Server: gtx.paopaous.net
  6. Port: 38082
  7. Close settings, app will automatically prompt for authentication

Android Devices

  1. Open Settings
  2. Click "Wi-Fi"
  3. Long press current connected network
  4. Select "Modify network"
  5. Advanced options
  6. Proxy: Manual
  7. Proxy hostname: gtx.paopaous.net
  8. Proxy port: 38082
  9. Save, app will automatically prompt for authentication

Environment Variable Configuration

Linux/macOS

bash
# Set HTTP proxy
export HTTP_PROXY="http://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082"
export HTTPS_PROXY="http://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082"

# Set SOCKS5 proxy
export ALL_PROXY="socks5://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082"

# Permanent configuration (add to ~/.bashrc or ~/.zshrc)
echo 'export HTTP_PROXY="http://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082"' >> ~/.bashrc
echo 'export HTTPS_PROXY="http://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082"' >> ~/.bashrc
source ~/.bashrc

Windows

cmd
# Set HTTP proxy
set HTTP_PROXY=http://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082
set HTTPS_PROXY=http://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082

# Permanent configuration (system environment variables)
# 1. Right-click "This PC""Properties""Advanced system settings"
# 2. Click "Environment Variables"
# 3. Add new system variables:
#    - Variable name: HTTP_PROXY
#    - Variable value: http://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082

Docker Configuration

Dockerfile

dockerfile
FROM python:3.9

# Set proxy environment variables
ENV HTTP_PROXY=http://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082
ENV HTTPS_PROXY=http://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082

# Install dependencies
RUN pip install requests

# Application code
COPY app.py .
CMD ["python", "app.py"]

Docker Compose

yaml
version: '3.8'

services:
  app:
    image: python:3.9
    environment:
      - HTTP_PROXY=http://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082
      - HTTPS_PROXY=http://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082
    volumes:
      - ./app:/app
    working_dir: /app
    command: python app.py

Configuration Verification

Test Script

python
import requests
import sys

def test_proxy():
    proxies = {
        "http": "http://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082",
        "https": "http://myuser:ip:res-c:US:your_password_here@gtx.paopaous.net:38082"
    }
    
    try:
        response = requests.get("https://httpbin.org/ip", proxies=proxies, timeout=30)
        if response.status_code == 200:
            data = response.json()
            print("✅ Proxy configuration successful!")
            print(f"Proxy IP: {data['origin']}")
            return True
        else:
            print(f"❌ Request failed: {response.status_code}")
            return False
    except requests.exceptions.ProxyError as e:
        print(f"❌ Proxy authentication failed: {e}")
        return False
    except requests.exceptions.Timeout:
        print("❌ Request timeout")
        return False
    except Exception as e:
        print(f"❌ Configuration error: {e}")
        return False

if __name__ == "__main__":
    success = test_proxy()
    sys.exit(0 if success else 1)

Batch Testing

python
import concurrent.futures
import requests

def test_country(country_code):
    proxies = {
        "http": f"http://myuser:ip:res-c:{country_code}:your_password_here@gtx.paopaous.net:38082",
        "https": f"http://myuser:ip:res-c:{country_code}:your_password_here@gtx.paopaous.net:38082"
    }
    
    try:
        response = requests.get("https://httpbin.org/ip", proxies=proxies, timeout=10)
        return {"country": country_code, "success": True, "ip": response.json()['origin']}
    except Exception as e:
        return {"country": country_code, "success": False, "error": str(e)}

countries = ["US", "UK", "JP", "DE", "FR"]

with concurrent.futures.ThreadPoolExecutor(max_workers=5) as executor:
    futures = [executor.submit(test_country, country) for country in countries]
    
    for future in concurrent.futures.as_completed(futures):
        result = future.result()
        status = "✅" if result["success"] else "❌"
        print(f"{status} {result['country']}: {result.get('ip', result.get('error'))}")

Next: Advanced Settings

基于 MIT 许可发布