To install or use a proxy on port 12345, the method depends on whether you are setting up a server, configuring an application, or using a client tool. π οΈ Proxy Server Setup (pproxy)
If you want to run a local proxy server on your machine using Python, the pproxy library is a common choice. Install: pip install pproxy
Run Server: pproxy -l ss://:12345 (starts a Shadowsocks server on port 12345). Run with Encryption: pproxy -l ss://chacha20:key@:12345. π Configure System/Browser
To route your existing internet traffic through a proxy server already running on port 12345:
Windows: Go to Settings > Network & internet > Proxy. Under Manual proxy setup, click Set up and enter the IP (e.g., 127.0.0.1) and Port 12345.
macOS: Go to System Settings > Network > Proxies and enter the server address and port 12345.
Chrome: Chrome typically uses your system's settings. You can access these via Settings > System > Open your computer's proxy settings. Python (pip and requests)
To install packages or make web requests through a proxy on port 12345:
pip install: Use the --proxy flag:pip install Requests library: Pass the proxy dictionary in your script:
proxies = "http": "http://127.0.0.1:12345", "https": "http://127.0.0.1:12345" requests.get("http://example.com", proxies=proxies) ``` Use code with caution. Copied to clipboard π Key Port Details
Port 12345: Often used as a default port for custom proxy tools like pproxy, NetBus, or private VPN tunnels.
Security: Ensure your firewall allows traffic on port 12345 if you are hosting the proxy for external use. To give you the most accurate steps, could you tell me: Are you hosting a proxy or connecting to one?
Which operating system (Windows, Linux, macOS) are you using?
Is this for a specific app (like Chrome, Python, or a game)?
Step 2: Configure Squid to Listen on Port 12345
Edit the Squid configuration file:
sudo nano /etc/squid/squid.conf
Find the line that says http_port 3128 (default port). Change it to:
http_port 12345
If you want to allow all incoming connections (for testing only), add or modify the ACL:
acl all src 0.0.0.0/0
http_access allow all
For Windows Users
- Download a proxy client: Choose a reputable proxy client software, such as CCProxy or Proxy Server.
- Install the software: Follow the installation prompts to complete the setup.
- Configure the proxy settings: Enter the proxy server address, port number (12345), and authentication details (if required).
- Connect to the proxy server: Establish a connection to the proxy server using the configured settings.
Step 3: Allow Port 12345 in Windows Firewall
- Open Windows Defender Firewall β Advanced Settings.
- Inbound Rules β New Rule β Port.
- Select TCP β Specific local ports:
12345. - Allow the connection β Apply to Domain, Private, Public.
- Name it "Proxy 12345" β Finish.
5. Verification Commands
- Check listening port:
netstat -tulpn | grep 12345(Linux) /lsof -i :12345(macOS) - Test proxy:
curl -x http://127.0.0.1:12345 http://httpbin.org/ip - Uninstall (remove proxy settings):
unset http_proxy https_proxy # Linux/macOS netsh winhttp reset proxy # Windows
1. Overview
The instruction proxy 12345 install typically refers to setting up a listening proxy server on TCP port 12345 and integrating it into the operating systemβs network stack (i.e., "installing" it as a system-wide or session proxy). This is common for debugging HTTP traffic, chaining proxies, or routing applications through a local tunnel (e.g., Shadowsocks, mitmproxy, Squid, or a custom SOCKS/HTTP proxy).
2. Upstream Proxy Chaining
Route your proxy 12345 through another proxy:
cache_peer 10.0.0.1 parent 8080 0 no-query default
never_direct allow all
Step 1: Update System and Install Squid
sudo apt update && sudo apt upgrade -y # Debian/Ubuntu
sudo apt install squid -y