LMX
BlogSelectedWorkSponsorsAbout
Command Palette

Search for a command to run...

Blog

Self-Hosted Cloud Server Network Relay in 3 Minutes

LMXOct 14, 202610 min read#VPS#NAT#3x-ui#Networking#Tutorial

A step-by-step guide to buying a NAT VPS, configuring port forwarding, installing 3x-ui, creating a VLESS REALITY Vision node, and importing it into v2rayN, with commands, settings, and screenshots.

This tutorial uses a low-cost NAT VPS to set up a personal proxy. First, configure port forwarding in your provider's dashboard. Then install 3x-ui, create a VLESS + TCP (RAW) + REALITY + Vision node, and import it into v2rayN.

Before You Start: Understand the Two Sets of Ports

A NAT VPS exposes services through port forwarding. Server applications listen on internal ports, while browsers and proxy clients connect to external ports. This distinction is essential throughout the setup.

This article uses example ports for reference. The ports are configurable, so choose the values appropriate for your instance. Replace them with the ports assigned by your provider.

PurposePublic EndpointInternal Listener
SSHTCP 59783TCP 22
3x-ui management panelTCP 58869TCP 2053
Proxy nodeTCP 58868TCP 2081

The panel and the proxy have separate endpoints. Port 58869 opens the management panel, while port 58868 connects to the proxy. They are not interchangeable.

Passphrase

Enter the passphrase to continue

No passphrase? Request one

Scan the WeChat code or email me with your reading purpose. I'll send a passphrase once approved.

WeChat QR codeSend email · lmxzqq@gmail.com
Previous post

A Practical Skills Guide: From the Smallest Skill to Enterprise Governance

Next post

Preserving Judgment and Self-Worth in the Age of AI

LMX BlogWeb · TypeScript · Vue · Node.js
Crafted by
@LMXZQQ
Build
unavailable
Date
2026-10-30
Articles
29
Deployed on
Nginx
Source code
GitHub
License
MIT License
Typeface
Geist
Stack
  • next@16.4.3
  • react@19.3.1
  • @base-ui/react@1.8.0
  • shadcn@4.12.0
  • tailwindcss@4.3.3
Analytics
  • OpenPanel
  • Google Analytics
For agents
  • llms.txt
  • index.md
Inspired by
  1. Tailwind CSS
  2. shadcn/ui
  3. Vercel
  4. Apple
  5. Evil Charts
  6. Devouring Details
  7. Skiper UI
  8. Making Software
  9. shadcncraft
Approved by
静水流深 / LMX
1602
Command Palette

Search for a command to run...