NAT Forwarding — Use Proxy from Anywhere
Ask AI
Ready taskDo it with me, step by step
Chat assistants
Open in ChatGPTNew tabOpen in ClaudeNew tabCoding agents
Claude CodeOpens the desktop appCodexOpens the desktop appCursorOpens the app from the webCopy
View as MarkdownPlain text for AI toolsSee the prompt
Read https://xproxy.io/document/how-public-access-xproxy.md, the XProxy guide "NAT Forwarding — Use Proxy from Anywhere". If you cannot open links, download them with curl. Then take me through it one step at a time: tell me exactly what to click or type, wait until I say it is done, and help me when what I see is different from the guide. Start by asking what I have (hardware, XProxy version, what I see now). Other XProxy guides, each with a Markdown copy at its URL + .md, are listed in https://xproxy.io/llms.txt.
The app opens with the prompt filled in. Nothing runs until you press Enter.
By default your proxies work only inside your home network. Open your router for them, and customers can use them from anywhere on the internet.
You need: your router's admin login, and a fixed home address for the box. It takes about 20 minutes.
In short
Tell your router to pass the proxy ports to the box. The panel lists the ports for you.
Once the box is on the internet, anyone can knock. Set the dashboard and proxy logins before you open the router.
It tests your ports from the internet and tells you which proxies customers can reach.
Open your router for the box
Step 1 of 8
Once the box is on the internet, anyone can try to open its dashboard. So lock it first.
- In your panel, open General Settings, then System Setting. Click the Security tab 1.
- Turn Dashboard Auth on 2.
- Type a Username and a Password 3, then click Save 4.
Port forwarding or DMZ?
Only the proxy ports reach the box. Everything else stays closed. Use the list from the panel.
One switch, and the router sends all internet traffic to the box. It is simple, but the whole box is open. Set both logins first.
Something not working?
| You see | What to do |
|---|---|
| Router shows Public IP not detected | Check that the box has internet. Then open the menu again. |
| Only some proxies are reachable | The ports you did not forward are listed under Forward these ports. Add them, then Re-check. Added more modems later? Forward their ports too. |
| No proxy is reachable | Check each rule: protocol TCP, and the internal address is the one of your box. Did the box address change? Reserve it in your router (see Static IP). |
| Still closed, and the rules are right | Your internet provider may share one public IP between many customers. Then ports cannot be opened. Use VPS forwarding instead. |
| TCP works from outside, but SOCKS5 UDP apps (QUIC, games) get no answer | Forward UDP 32768–60999 to the box, and set SOCKS5 UDP behind a router to Router public IP (auto) (Proxy Settings, General). Check with the test script. |
| SOCKS5 UDP works for some sessions, not for others | Run the test script a few times and look at the relay port it prints. A port outside 32768–60999 means your box uses a wider port range: send the ports to support, or forward that range too. |
| Proxies are slow | Run WAN speed, Test now. Customers download over your home upload. Upgrade the upload speed of your internet plan. |
| The address changes every few days | Set up Dynamic DNS and give customers the name. |

