Tencent Cloud Seoul VPS: From Unboxing to Open WebUI
Contents
Specs
- Tencent Cloud Seoul, 2 cores / 2GB RAM / 50GB disk, Ubuntu 24.04
- The exit IP is in Seoul; ChatGPT, Gemini, and TikTok all open, Claude returns 403
- 1Panel panel, running a bunch of Docker containers inside — n8n, Ollama, Redis, OpenResty, and more
This box is positioned as a Korea exit + lightweight AI playground, not a main proxy line.
Step 1: Install the VLESS Node
Port 443 was taken by OpenResty, so the node runs on port 24742 instead — VLESS + REALITY, with SNI dl.google.com. After installing, verify: the exit is a Seoul IP, and ChatGPT and Gemini both return 200.
One warning: Tencent Cloud's terms of service don't allow running proxies — whether this box lasts long-term is a matter of luck.
Step 2: Harden It
- fail2ban's SSH rules tightened: 5 failed attempts bans for 1 hour, escalating to a week at most
- SSH now requires TOTP two-factor auth — password + one-time code to log in
- Note: Tencent Cloud's console QR login uses a different PAM rule — don't touch it, or you won't be able to log in from the console
Step 3: Run Small Models with Ollama
With 2GB of RAM you can't run big models — 1.5B and under only:
qwen2.5:1.5b(986MB): chats fine, but the first token takes a dozen seconds to loadqwen2.5:0.5b(397MB): faster, but noticeably weaker answers
While a model loads, only 300–400MB of memory is left, and the system is already using swap. Don't even think about 3B+ models — they'll freeze the box.
Step 4: Open WebUI
Installed Open WebUI 0.13.5 with Docker, on port 8090 — open it in a browser and chat, works on phones too.
One security note: right after installing, registration is open — anyone can sign up and use your models. Register the admin account first, then immediately turn off public registration.
A Strange Problem: Streaming Errors
Chatting in Open WebUI occasionally throws a JSON parse error. Checked server-side: Ollama's stream is fine and the backend API returns 200 — the problem is the long-lived connection between the browser and the server getting cut off. Switch to a different network (mobile data, for example) and it usually works.
Summary
- A 2C2G box running a 1.5B model + WebUI works, but don't expect speed or concurrency
- For big models, go borrow a free GPU on Colab or Kaggle
- This box is best as a Korea exit node and a lightweight test machine
加载中…