{"id":130702,"date":"2026-10-15T13:14:10","date_gmt":"2026-10-15T06:14:10","guid":{"rendered":"https:\/\/tino.vn\/blog\/?p=130702"},"modified":"2026-10-24T17:53:36","modified_gmt":"2026-10-24T10:53:36","slug":"dung-cloudflare-tunnel-bao-mat-openclaw","status":"publish","type":"post","link":"https:\/\/tino.vn\/blog\/dung-cloudflare-tunnel-bao-mat-openclaw\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn d\u00f9ng Cloudflare Tunnel b\u1ea3o m\u1eadt OpenClaw v\u00e0 Hermes Agent"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><strong>D\u00f9ng Cloudflare Tunnel b\u1ea3o m\u1eadt OpenClaw v\u00e0 Hermes Agent l\u00e0 c\u00e0i <code>cloudflared<\/code> tr\u00ean VPS \u0111\u1ec3 t\u1ea1o \u0111\u01b0\u1eddng h\u1ea7m k\u1ebft n\u1ed1i m\u1ed9t chi\u1ec1u ra Cloudflare, r\u1ed3i \u0111\u1eb7t Cloudflare Access ph\u00eda tr\u01b0\u1edbc \u0111\u1ec3 ch\u1ec9 ng\u01b0\u1eddi \u0111\u01b0\u1ee3c c\u1ea5p quy\u1ec1n m\u1edbi v\u00e0o \u0111\u01b0\u1ee3c giao di\u1ec7n qu\u1ea3n tr\u1ecb.<\/strong> B\u1ea1n truy c\u1eadp Dashboard qua t\u00ean mi\u1ec1n HTTPS m\u00e0 kh\u00f4ng m\u1edf c\u1ed5ng n\u00e0o tr\u00ean t\u01b0\u1eddng l\u1eeda v\u00e0 kh\u00f4ng l\u1ed9 IP g\u1ed1c c\u1ee7a VPS.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">B\u00e0i n\u00e0y thu\u1ed9c nh\u00f3m <a href=\"https:\/\/tino.vn\/blog\/cai-dat-openclaw-tren-vps\/\">c\u00e0i \u0111\u1eb7t v\u00e0 v\u1eadn h\u00e0nh OpenClaw tr\u00ean VPS<\/a> v\u00e0 nh\u00f3m <a href=\"https:\/\/tino.vn\/blog\/bao-mat-vps\/\">b\u1ea3o m\u1eadt VPS<\/a>; kh\u00e1i ni\u1ec7m OpenClaw c\u00f3 \u1edf <a href=\"https:\/\/tino.vn\/blog\/openclaw-la-gi\/\">OpenClaw l\u00e0 g\u00ec<\/a>, Hermes Agent \u1edf <a href=\"https:\/\/tino.vn\/blog\/hermes-agent-la-gi\/\">Hermes Agent l\u00e0 g\u00ec<\/a>. N\u1ebfu b\u1ea1n mu\u1ed1n m\u1ea1ng ri\u00eang gi\u1eefa c\u00e1c thi\u1ebft b\u1ecb thay v\u00ec t\u00ean mi\u1ec1n c\u00f4ng khai, xem <a href=\"https:\/\/tino.vn\/blog\/bao-mat-vps-chay-ai-agent-bang-tailscale\/\">b\u1ea3o m\u1eadt VPS ch\u1ea1y AI Agent b\u1eb1ng Tailscale<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><em>\u1ea2nh ch\u1ee5p giao di\u1ec7n Cloudflare v\u00e0 OpenClaw th\u00e1ng 10\/2026. T\u00ean mi\u1ec1n th\u1eadt trong \u1ea3nh l\u00e0 t\u00ean mi\u1ec1n th\u1eed nghi\u1ec7m; trong l\u1ec7nh d\u01b0\u1edbi \u0111\u00e2y thay b\u1eb1ng example.com c\u1ee7a b\u1ea1n.<\/em><\/p>\n\n\n\n<h2 id=\"T\u1ea1i_sao_c\u1ea7n_d\u00f9ng_Cloudflare_Tunnel_b\u1ea3o_m\u1eadt_OpenClaw_v\u00e0_Hermes_Agent?\">T\u1ea1i sao c\u1ea7n d\u00f9ng Cloudflare Tunnel b\u1ea3o m\u1eadt OpenClaw v\u00e0 Hermes Agent?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Cloudflare Tunnel lo\u1ea1i b\u1ecf vi\u1ec7c m\u1edf c\u1ed5ng qu\u1ea3n tr\u1ecb ra Internet, n\u00ean bot qu\u00e9t c\u1ed5ng v\u00e0 t\u1ea5n c\u00f4ng d\u00f2 m\u1eadt kh\u1ea9u kh\u00f4ng ch\u1ea1m \u0111\u01b0\u1ee3c t\u1edbi OpenClaw hay Hermes Agent. Hai \u1ee9ng d\u1ee5ng n\u00e0y c\u00f3 quy\u1ec1n can thi\u1ec7p s\u00e2u v\u00e0o t\u1ec7p, c\u01a1 s\u1edf d\u1eef li\u1ec7u v\u00e0 gi\u1eef nhi\u1ec1u API key, n\u00ean giao di\u1ec7n qu\u1ea3n tr\u1ecb c\u1ee7a ch\u00fang kh\u00f4ng n\u00ean l\u1ed9 tr\u1ef1c ti\u1ebfp.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu m\u1edf c\u1ed5ng theo c\u00e1ch truy\u1ec1n th\u1ed1ng ho\u1eb7c ch\u1ec9 d\u1ef1ng reverse proxy, ai bi\u1ebft IP v\u00e0 c\u1ed5ng \u0111\u1ec1u ti\u1ebfp c\u1eadn \u0111\u01b0\u1ee3c trang \u0111\u0103ng nh\u1eadp. T\u00e0i li\u1ec7u OpenClaw khuy\u00ean gi\u1eef Gateway \u1edf loopback v\u00e0 kh\u00f4ng m\u1edf c\u1ed5ng 18789 ra Internet (<a href=\"https:\/\/docs.openclaw.ai\/help\/faq\/gateway-ports-and-remote-mode\" target=\"_blank\" rel=\"noopener nofollow\">OpenClaw: Gateway ports and remote mode<\/a>); Cloudflare Tunnel c\u00f9ng Access l\u00e0 m\u1ed9t c\u00e1ch truy c\u1eadp t\u1eeb xa \u0111\u01b0\u1ee3c t\u00e0i li\u1ec7u OpenClaw h\u01b0\u1edbng d\u1eabn ri\u00eang, b\u00ean c\u1ea1nh Tailscale v\u00e0 SSH tunnel (<a href=\"https:\/\/docs.openclaw.ai\/gateway\/cloudflare-access\" target=\"_blank\" rel=\"noopener nofollow\">OpenClaw: Cloudflare Tunnel and Access<\/a>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Gi\u1ea3i ph\u00e1p mang l\u1ea1i ba l\u1edbp b\u1ea3o v\u1ec7:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Kh\u00f4ng c\u00f3 c\u1ed5ng l\u1eafng nghe c\u00f4ng khai:<\/strong> c\u00f4ng c\u1ee5 qu\u00e9t nh\u01b0 Shodan kh\u00f4ng th\u1ea5y giao di\u1ec7n OpenClaw hay Hermes tr\u00ean IP c\u1ee7a VPS.<\/li>\n\n\n<li><strong>\u1ea8n IP g\u1ed1c:<\/strong> b\u1ea3n ghi DNS tr\u1ecf v\u1ec1 Cloudflare, kh\u00f4ng tr\u1ecf v\u1ec1 m\u00e1y ch\u1ee7.<\/li>\n\n\n<li><strong>X\u00e1c th\u1ef1c tr\u01b0\u1edbc khi t\u1edbi \u1ee9ng d\u1ee5ng:<\/strong> v\u1edbi Cloudflare Access, ng\u01b0\u1eddi truy c\u1eadp ph\u1ea3i \u0111\u0103ng nh\u1eadp \u1edf ph\u00eda Cloudflare; ng\u01b0\u1eddi l\u1ea1 kh\u00f4ng bao gi\u1edd t\u1edbi \u0111\u01b0\u1ee3c trang \u0111\u0103ng nh\u1eadp c\u1ee7a agent.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>L\u01b0u \u00fd:<\/strong> Tunnel ch\u1ec9 gi\u1ea3i quy\u1ebft chuy\u1ec7n m\u1edf c\u1ed5ng. T\u1ea1o tunnel m\u00e0 kh\u00f4ng b\u1eadt Access th\u00ec ai bi\u1ebft t\u00ean mi\u1ec1n v\u1eabn v\u00e0o \u0111\u01b0\u1ee3c giao di\u1ec7n agent; l\u1edbp Access m\u1edbi l\u00e0 ph\u1ea7n ch\u1eb7n ng\u01b0\u1eddi l\u1ea1.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1400\" height=\"750\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-luong-truy-cap.webp\" alt=\"S\u01a1 \u0111\u1ed3 truy c\u1eadp OpenClaw qua Cloudflare: tr\u00ecnh duy\u1ec7t m\u1edf t\u00ean mi\u1ec1n qu\u1ea3n tr\u1ecb, Cloudflare Access ki\u1ec3m email trong policy Allow, Cloudflare Tunnel chuy\u1ec3n t\u1edbi Service URL, tr\u00ean VPS cloudflared k\u1ebft n\u1ed1i ra c\u1ed5ng 7844 v\u00e0 OpenClaw Gateway ch\u1ec9 nghe 127.0.0.1:18789; k\u00e8m c\u00e1ch nh\u1eadn bi\u1ebft l\u1ed7i 1033, 502, ch\u1edd gh\u00e9p n\u1ed1i thi\u1ebft b\u1ecb\" class=\"wp-image-132019\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-luong-truy-cap.webp 1400w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-luong-truy-cap-300x161.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-luong-truy-cap-1024x549.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-luong-truy-cap-768x411.webp 768w\" sizes=\"(max-width: 1400px) 100vw, 1400px\" \/><\/figure>\n\n\n\n<h2 id=\"C\u1ea7n_chu\u1ea9n_b\u1ecb_g\u00ec_tr\u01b0\u1edbc_khi_c\u1ea5u_h\u00ecnh_Cloudflare_Tunnel?\">C\u1ea7n chu\u1ea9n b\u1ecb g\u00ec tr\u01b0\u1edbc khi c\u1ea5u h\u00ecnh Cloudflare Tunnel?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">B\u1ea1n c\u1ea7n m\u1ed9t VPS \u0111\u00e3 ch\u1ea1y OpenClaw ho\u1eb7c Hermes Agent v\u00e0 m\u1ed9t t\u00ean mi\u1ec1n \u0111ang d\u00f9ng DNS c\u1ee7a Cloudflare. C\u1ee5 th\u1ec3:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>M\u1ed9t <a href=\"https:\/\/tino.vn\/blog\/vps-la-gi\/\">VPS<\/a> Ubuntu \u0111\u00e3 c\u00e0i OpenClaw ho\u1eb7c Hermes Agent.<\/li>\n\n\n<li>T\u00e0i kho\u1ea3n Cloudflare v\u00e0 t\u00ean mi\u1ec1n d\u00f9ng DNS Cloudflare (xem <a href=\"https:\/\/tino.vn\/blog\/cloudflare-la-gi\/\">Cloudflare l\u00e0 g\u00ec<\/a>).<\/li>\n\n\n<li>Quy\u1ec1n SSH v\u00e0o VPS b\u1eb1ng Xshell, PuTTY ho\u1eb7c Terminal (xem <a href=\"https:\/\/tino.vn\/blog\/ssh-la-gi\/\">SSH l\u00e0 g\u00ec<\/a>).<\/li>\n\n\n<li>Email d\u00f9ng \u0111\u1ec3 x\u00e1c th\u1ef1c v\u1edbi Cloudflare Access.<\/li>\n\n\n<li>VPS c\u00f3 Internet chi\u1ec1u ra b\u00ecnh th\u01b0\u1eddng.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">V\u00ed d\u1ee5 d\u00f9ng hai t\u00ean mi\u1ec1n ph\u1ee5:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>D\u1ecbch v\u1ee5<\/th><th>T\u00ean mi\u1ec1n minh ho\u1ea1<\/th><\/tr><\/thead><tbody><tr><td>OpenClaw<\/td><td>openclaw.example.com<\/td><\/tr><tr><td>Hermes Agent<\/td><td>hermes.example.com<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Thay b\u1eb1ng t\u00ean mi\u1ec1n th\u1ef1c t\u1ebf b\u1ea1n qu\u1ea3n l\u00fd \u1edf Cloudflare. N\u1ebfu hai \u1ee9ng d\u1ee5ng ch\u1ea1y c\u00f9ng VPS, m\u1ed9t tunnel c\u00f3 th\u1ec3 ph\u1ee5c v\u1ee5 c\u1ea3 hai \u0111\u1ecba ch\u1ec9; n\u1ebfu ch\u1ea1y tr\u00ean hai VPS, t\u1ea1o m\u1ed7i VPS m\u1ed9t tunnel.<\/p>\n\n\n\n<h2 id=\"H\u01b0\u1edbng_d\u1eabn_c\u1ea5u_h\u00ecnh_Cloudflare_Tunnel_cho_OpenClaw_v\u00e0_Hermes_Agent\">H\u01b0\u1edbng d\u1eabn c\u1ea5u h\u00ecnh Cloudflare Tunnel cho OpenClaw v\u00e0 Hermes Agent<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Quy tr\u00ecnh d\u01b0\u1edbi \u0111\u00e2y d\u00f9ng <strong>remotely-managed tunnel<\/strong>, t\u1ee9c qu\u1ea3n l\u00fd tunnel tr\u00ean giao di\u1ec7n Cloudflare; cloudflared tr\u00ean VPS ch\u1ec9 c\u1ea7n m\u1ed9t token.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_1._Ki\u1ec3m_tra_d\u1ecbch_v\u1ee5_AI_Agent_tr\u00ean_VPS\">B\u01b0\u1edbc 1. Ki\u1ec3m tra d\u1ecbch v\u1ee5 AI Agent tr\u00ean VPS<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">SSH v\u00e0o VPS v\u00e0 xem c\u00e1c c\u1ed5ng TCP \u0111ang l\u1eafng nghe:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ss -lntp<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1873\" height=\"353\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_1-9.png\" alt=\"K\u1ebft qu\u1ea3 sudo ss -lntp tr\u00ean VPS: c\u00e1c c\u1ed5ng \u0111ang LISTEN g\u1ed3m 22 c\u1ee7a sshd, 18789 c\u1ee7a openclaw-gateway, 80 v\u00e0 443 c\u1ee7a caddy c\u00f9ng ti\u1ebfn tr\u00ecnh t\u01b0\u01a1ng \u1ee9ng\" class=\"wp-image-130705\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_1-9.png 1873w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_1-9-300x57.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_1-9-1024x193.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_1-9-768x145.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_1-9-1536x289.png 1536w\" sizes=\"(max-width: 1873px) 100vw, 1873px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">V\u1edbi b\u1ea3n c\u00e0i g\u1ed1c, OpenClaw Gateway d\u00f9ng c\u1ed5ng m\u1eb7c \u0111\u1ecbnh <strong>18789<\/strong> v\u00e0 nghe \u1edf 127.0.0.1. Ki\u1ec3m tra tr\u1ef1c ti\u1ebfp:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -I http:\/\/127.0.0.1:18789<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1893\" height=\"332\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_2-9.png\" alt=\"K\u1ebft qu\u1ea3 curl -I http:\/\/127.0.0.1:18789 tr\u1ea3 HTTP\/1.1 200 OK k\u00e8m c\u00e1c header b\u1ea3o m\u1eadt Content-Security-Policy, X-Frame-Options DENY\" class=\"wp-image-130706\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_2-9.png 1893w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_2-9-300x53.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_2-9-1024x180.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_2-9-768x135.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_2-9-1536x269.png 1536w\" sizes=\"(max-width: 1893px) 100vw, 1893px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu nh\u1eadn ph\u1ea3n h\u1ed3i HTTP, d\u1ecbch v\u1ee5 \u0111\u00e3 nh\u1eadn k\u1ebft n\u1ed1i t\u1ea1i \u0111\u1ecba ch\u1ec9 \u0111\u00f3. V\u1edbi Hermes Agent, x\u00e1c \u0111\u1ecbnh c\u1ed5ng Dashboard th\u1ef1c t\u1ebf trong danh s\u00e1ch <code>ss -lntp<\/code> r\u1ed3i ki\u1ec3m tra t\u01b0\u01a1ng t\u1ef1 b\u1eb1ng <code>curl -I http:\/\/127.0.0.1:&lt;c\u1ed5ng&gt;<\/code>. G\u1eb7p <em>Connection refused<\/em> th\u00ec ki\u1ec3m tra ti\u1ebfn tr\u00ecnh, c\u1ed5ng v\u00e0 \u0111\u1ecba ch\u1ec9 l\u1eafng nghe.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>L\u01b0u \u00fd:<\/strong> c\u1ed5ng 18789 l\u00e0 m\u1eb7c \u0111\u1ecbnh c\u1ee7a b\u1ea3n g\u1ed1c. Docker, Dashboard tu\u1ef3 bi\u1ebfn ho\u1eb7c VPS c\u00e0i s\u1eb5n c\u00f3 th\u1ec3 d\u00f9ng c\u1ed5ng hay reverse proxy kh\u00e1c; x\u00e1c \u0111\u1ecbnh c\u1ed5ng th\u1ef1c t\u1ebf tr\u01b0\u1edbc khi ti\u1ebfp t\u1ee5c.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_2._T\u1ea1o_Cloudflare_Tunnel\">B\u01b0\u1edbc 2. T\u1ea1o Cloudflare Tunnel<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u0103ng nh\u1eadp <a href=\"https:\/\/dash.cloudflare.com\/\" target=\"_blank\" rel=\"noopener nofollow\">Cloudflare Dashboard<\/a>, m\u1edf <strong>Networking \u2192 Tunnels<\/strong> v\u00e0 nh\u1ea5n <strong>Create Tunnel<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1355\" height=\"788\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_3-7.png\" alt=\"Cloudflare Dashboard m\u1ee5c Networking \u2192 Tunnels, trang Get started with Cloudflare Tunnel v\u00e0 n\u00fat Create Tunnel\" class=\"wp-image-130707\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_3-7.png 1355w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_3-7-300x174.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_3-7-1024x596.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_3-7-768x447.png 768w\" sizes=\"(max-width: 1355px) 100vw, 1355px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u1eb7t t\u00ean tunnel, v\u00ed d\u1ee5 <code>ai-agent-vps<\/code>, r\u1ed3i nh\u1ea5n <strong>Create Tunnel<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"963\" height=\"551\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_4-7.png\" alt=\"H\u1ed9p tho\u1ea1i Create a Tunnel v\u1edbi Tunnel name ai-agent-vps v\u00e0 n\u00fat Create Tunnel\" class=\"wp-image-130708\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_4-7.png 963w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_4-7-300x172.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_4-7-768x439.png 768w\" sizes=\"(max-width: 963px) 100vw, 963px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u1ede ph\u1ea7n <strong>Setup Environment<\/strong>, ch\u1ecdn h\u1ec7 \u0111i\u1ec1u h\u00e0nh ph\u00f9 h\u1ee3p v\u1edbi VPS (Debian cho Ubuntu) v\u00e0 ki\u1ebfn tr\u00fac 64-bit. Cloudflare hi\u1ec3n th\u1ecb l\u1ec7nh c\u00e0i v\u00e0 l\u1ec7nh k\u1ebft n\u1ed1i tunnel b\u1eb1ng token.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1012\" height=\"789\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_5-8.png\" alt=\"Trang Create a Tunnel: Tunnel ID, Setup Environment ch\u1ecdn Debian 64-bit v\u00e0 c\u1ea3nh b\u00e1o token c\u1ea5p quy\u1ec1n v\u00e0o t\u00e0i kho\u1ea3n, kh\u00f4ng chia s\u1ebb\" class=\"wp-image-130709\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_5-8.png 1012w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_5-8-300x234.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_5-8-768x599.png 768w\" sizes=\"(max-width: 1012px) 100vw, 1012px\" \/><\/figure>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_3._C\u00e0i_\u0111\u1eb7t_cloudflared_tr\u00ean_VPS\">B\u01b0\u1edbc 3. C\u00e0i \u0111\u1eb7t cloudflared tr\u00ean VPS<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><code>cloudflared<\/code> l\u00e0 ch\u01b0\u01a1ng tr\u00ecnh gi\u1eef k\u1ebft n\u1ed1i t\u1eeb VPS t\u1edbi Cloudflare Tunnel. Tr\u00ean Ubuntu ho\u1eb7c Debian, c\u00e0i t\u1eeb kho APT ch\u00ednh th\u1ee9c (<a href=\"https:\/\/pkg.cloudflare.com\/index.html\" target=\"_blank\" rel=\"noopener nofollow\">pkg.cloudflare.com<\/a>):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get update\nsudo apt-get install -y curl ca-certificates<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1141\" height=\"680\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_6-8.png\" alt=\"Terminal ch\u1ea1y sudo apt-get update v\u00e0 apt-get install -y curl ca-certificates, k\u1ebft qu\u1ea3 curl v\u00e0 ca-certificates \u0111\u00e3 l\u00e0 b\u1ea3n m\u1edbi\" class=\"wp-image-130710\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_6-8.png 1141w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_6-8-300x179.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_6-8-1024x610.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_6-8-768x458.png 768w\" sizes=\"(max-width: 1141px) 100vw, 1141px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Th\u00eam kho\u00e1 k\u00fd v\u00e0 kho ph\u1ea7n m\u1ec1m Cloudflare, r\u1ed3i c\u00e0i cloudflared:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo mkdir -p --mode=0755 \/usr\/share\/keyrings\ncurl -fsSL https:\/\/pkg.cloudflare.com\/cloudflare-main.gpg | sudo tee \/usr\/share\/keyrings\/cloudflare-main.gpg &gt;\/dev\/null\necho 'deb [signed-by=\/usr\/share\/keyrings\/cloudflare-main.gpg] https:\/\/pkg.cloudflare.com\/cloudflared any main' | sudo tee \/etc\/apt\/sources.list.d\/cloudflared.list\nsudo apt-get update\nsudo apt-get install -y cloudflared\ncloudflared --version<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><em>B\u00e0i c\u0169 d\u00f9ng ngo\u1eb7c k\u00e9p cong \u201c\u2026\u201d trong l\u1ec7nh echo, d\u00e1n v\u00e0o terminal s\u1ebd l\u1ed7i; l\u1ec7nh tr\u00ean \u0111\u00e3 \u0111\u1ed5i sang ngo\u1eb7c \u0111\u01a1n th\u1eb3ng theo pkg.cloudflare.com.<\/em><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1715\" height=\"713\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_7-7.png\" alt=\"Terminal th\u00eam kho\u00e1 cloudflare-main.gpg, kho pkg.cloudflare.com\/cloudflared any main, c\u00e0i cloudflared 2026.10.0 v\u00e0 cloudflared --version\" class=\"wp-image-130711\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_7-7.png 1715w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_7-7-300x125.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_7-7-1024x426.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_7-7-768x319.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_7-7-1536x639.png 1536w\" sizes=\"(max-width: 1715px) 100vw, 1715px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Quay l\u1ea1i Cloudflare Dashboard, sao ch\u00e9p l\u1ec7nh <strong>Install as service<\/strong> c\u1ee7a tunnel v\u1eeba t\u1ea1o. L\u1ec7nh c\u00f3 d\u1ea1ng:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo cloudflared service install YOUR_TUNNEL_TOKEN<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Nh\u1ea5n n\u00fat Copy \u0111\u1ec3 l\u1ea5y nguy\u00ean l\u1ec7nh k\u00e8m token th\u1eadt r\u1ed3i d\u00e1n v\u00e0o terminal VPS.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1037\" height=\"650\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_8-6.png\" alt=\"Cloudflare Dashboard m\u1ee5c Install cloudflared, Install as service v\u1edbi l\u1ec7nh sudo cloudflared service install v\u00e0 token \u0111\u00e3 \u0111\u01b0\u1ee3c Cloudflare \u1ea9n b\u1eb1ng d\u1ea5u sao, tr\u1ea1ng th\u00e1i Waiting for your Tunnel to connect\" class=\"wp-image-130712\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_8-6.png 1037w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_8-6-300x188.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_8-6-1024x642.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_8-6-768x481.png 768w\" sizes=\"(max-width: 1037px) 100vw, 1037px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ki\u1ec3m tra d\u1ecbch v\u1ee5:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl status cloudflared --no-pager<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1891\" height=\"449\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_9-7.png\" alt=\"K\u1ebft qu\u1ea3 systemctl status cloudflared: active (running), log Registered tunnel connection t\u1edbi c\u00e1c \u0111i\u1ec3m Cloudflare\" class=\"wp-image-130713\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_9-7.png 1891w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_9-7-300x71.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_9-7-1024x243.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_9-7-768x182.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_9-7-1536x365.png 1536w\" sizes=\"(max-width: 1891px) 100vw, 1891px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu d\u1ecbch v\u1ee5 ch\u01b0a ch\u1ea1y:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo systemctl enable --now cloudflared<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Quay l\u1ea1i <strong>Networking \u2192 Tunnels<\/strong>: khi k\u1ebft n\u1ed1i th\u00e0nh c\u00f4ng, tunnel hi\u1ec7n tr\u1ea1ng th\u00e1i <strong>Healthy<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1361\" height=\"755\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_10-6.png\" alt=\"Danh s\u00e1ch Tunnels tr\u00ean Cloudflare: tunnel ai-agent-vps tr\u1ea1ng th\u00e1i Healthy, 1 replica, phi\u00ean b\u1ea3n 2026.10.0, ch\u01b0a c\u00f3 route\" class=\"wp-image-130714\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_10-6.png 1361w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_10-6-300x166.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_10-6-1024x568.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_10-6-768x426.png 768w\" sizes=\"(max-width: 1361px) 100vw, 1361px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>L\u01b0u \u00fd:<\/strong> kh\u00f4ng chia s\u1ebb tunnel token, v\u00ec ai c\u00f3 token \u0111\u1ec1u n\u1ed1i \u0111\u01b0\u1ee3c m\u1ed9t ti\u1ebfn tr\u00ecnh cloudflared v\u00e0o tunnel. N\u1ebfu VPS \u0111\u00e3 c\u00f3 cloudflared t\u1eeb tr\u01b0\u1edbc, ki\u1ec3m tra c\u1ea5u h\u00ecnh hi\u1ec7n c\u00f3 thay v\u00ec c\u00e0i th\u00eam d\u1ecbch v\u1ee5 tr\u00f9ng. T\u01b0\u1eddng l\u1eeda ph\u1ea3i cho ph\u00e9p k\u1ebft n\u1ed1i <em>chi\u1ec1u ra<\/em> t\u1edbi Cloudflare tr\u00ean c\u1ed5ng 7844 (TCP v\u00e0 UDP) (<a href=\"https:\/\/developers.cloudflare.com\/cloudflare-one\/networks\/connectors\/cloudflare-tunnel\/configure-tunnels\/tunnel-with-firewall\/\" target=\"_blank\" rel=\"noopener nofollow\">Cloudflare: Tunnel with firewall<\/a>).<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_4._C\u1ea5u_h\u00ecnh_t\u00ean_mi\u1ec1n_k\u1ebft_n\u1ed1i_AI_Agent\">B\u01b0\u1edbc 4. C\u1ea5u h\u00ecnh t\u00ean mi\u1ec1n k\u1ebft n\u1ed1i AI Agent<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u0110\u1ec3 n\u1ed1i OpenClaw ho\u1eb7c Hermes Agent v\u1edbi tunnel, t\u1ea1o m\u1ed9t <strong>Published application route<\/strong> li\u00ean k\u1ebft t\u00ean mi\u1ec1n ph\u1ee5 v\u1edbi c\u1ed5ng d\u1ecbch v\u1ee5 tr\u00ean VPS. V\u00ed d\u1ee5 d\u01b0\u1edbi \u0111\u00e2y d\u00f9ng OpenClaw.<\/p>\n\n\n\n<h4 id=\"M\u1edf_c\u1ea5u_h\u00ecnh_Cloudflare_Tunnel\">M\u1edf c\u1ea5u h\u00ecnh Cloudflare Tunnel<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Trong Cloudflare Dashboard, ch\u1ecdn <strong>Networking \u2192 Tunnels<\/strong>, nh\u1ea5n v\u00e0o tunnel <code>ai-agent-vps<\/code>. T\u1ea1i m\u1ee5c <strong>Routes<\/strong>, nh\u1ea5n <strong>Add route<\/strong> r\u1ed3i ch\u1ecdn <strong>Published application<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1209\" height=\"747\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-tunnel-healthy-che.webp\" alt=\"Trang chi ti\u1ebft tunnel ai-agent-vps: Metrics 1 active replica, tr\u1ea1ng th\u00e1i Healthy, b\u1ea3ng Replicas v\u1edbi hostname openclaw-hdt v\u00e0 \u0111\u1ecba ch\u1ec9 Origin IP \u0111\u00e3 che, n\u00fat Add route\" class=\"wp-image-132020\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-tunnel-healthy-che.webp 1209w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-tunnel-healthy-che-300x185.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-tunnel-healthy-che-1024x633.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-tunnel-healthy-che-768x475.webp 768w\" sizes=\"(max-width: 1209px) 100vw, 1209px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"813\" height=\"549\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_12-6.png\" alt=\"H\u1ed9p tho\u1ea1i Add a route v\u1edbi b\u1ed1n lo\u1ea1i: Published application, Private hostname, Private CIDR, Workers VPC; m\u0169i t\u00ean ch\u1ec9 Published application\" class=\"wp-image-130716\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_12-6.png 813w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_12-6-300x203.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_12-6-768x519.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_12-6-260x176.png 260w\" sizes=\"(max-width: 813px) 100vw, 813px\" \/><\/figure>\n\n\n\n<h4 id=\"\u0110i\u1ec1n_th\u00f4ng_tin_t\u00ean_mi\u1ec1n\">\u0110i\u1ec1n th\u00f4ng tin t\u00ean mi\u1ec1n<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">Trong c\u1eeda s\u1ed5 <strong>Add published application<\/strong>, nh\u1eadp:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Tr\u01b0\u1eddng<\/th><th>Th\u00f4ng tin c\u1ea7n \u0111i\u1ec1n<\/th><\/tr><\/thead><tbody><tr><td>Subdomain<\/td><td>openclaw<\/td><\/tr><tr><td>Domain<\/td><td>example.com (t\u00ean mi\u1ec1n c\u1ee7a b\u1ea1n)<\/td><\/tr><tr><td>Full hostname<\/td><td>openclaw.example.com<\/td><\/tr><tr><td>Path<\/td><td>\u0110\u1ec3 tr\u1ed1ng<\/td><\/tr><tr><td>Service URL<\/td><td>\u0110\u1ecba ch\u1ec9 n\u1ed9i b\u1ed9 c\u1ee7a OpenClaw tr\u00ean VPS, v\u00ed d\u1ee5 http:\/\/127.0.0.1:18789<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"841\" height=\"752\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_13-3.png\" alt=\"H\u1ed9p tho\u1ea1i Add published application: Subdomain openclaw, Domain t\u00ean mi\u1ec1n th\u1eed nghi\u1ec7m, Full hostname, Path \u0111\u1ec3 tr\u1ed1ng, Service URL http:\/\/127.0.0.1:18789 v\u00e0 n\u00fat Add route\" class=\"wp-image-130717\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_13-3.png 841w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_13-3-300x268.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_13-3-768x687.png 768w\" sizes=\"(max-width: 841px) 100vw, 841px\" \/><\/figure>\n\n\n\n<h4 id=\"C\u00e1ch_x\u00e1c_\u0111\u1ecbnh_Service_URL\">C\u00e1ch x\u00e1c \u0111\u1ecbnh Service URL<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu OpenClaw d\u00f9ng c\u1ed5ng m\u1eb7c \u0111\u1ecbnh 18789, Service URL l\u00e0 <code>http:\/\/127.0.0.1:18789<\/code>. V\u1edbi VPS c\u00e0i s\u1eb5n OpenClaw (v\u00ed d\u1ee5 VPS OpenClaw c\u1ee7a Tino), ki\u1ec3m tra tr\u01b0\u1edbc khi \u0111i\u1ec1n:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ss -lntp | grep -E ':(18789|80|443)\\b'\ncurl -I http:\/\/127.0.0.1:18789<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00f3 ph\u1ea3n h\u1ed3i HTTP t\u1eeb OpenClaw th\u00ec d\u00f9ng \u0111\u1ecba ch\u1ec9 tr\u00ean. Kh\u00f4ng c\u00f3 ph\u1ea3n h\u1ed3i th\u00ec ki\u1ec3m tra c\u1ea5u h\u00ecnh th\u1ef1c t\u1ebf: VPS c\u00e0i s\u1eb5n c\u00f3 th\u1ec3 d\u00f9ng reverse proxy nh\u01b0 Nginx ho\u1eb7c Caddy \u0111\u1ec3 nh\u1eadn t\u00ean mi\u1ec1n <code>.tino.page<\/code> r\u1ed3i chuy\u1ec3n t\u1edbi Gateway.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>L\u01b0u \u00fd:<\/strong> kh\u00f4ng c\u1ea7n t\u1ea1o b\u1ea3n ghi A tr\u1ecf <code>openclaw.example.com<\/code> v\u1ec1 IP VPS. Cloudflare t\u1ef1 t\u1ea1o b\u1ea3n ghi DNS cho tunnel khi b\u1ea1n l\u01b0u route.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_5._Thi\u1ebft_l\u1eadp_Cloudflare_Access\">B\u01b0\u1edbc 5. Thi\u1ebft l\u1eadp Cloudflare Access<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Cloudflare Access l\u00e0 l\u1edbp x\u00e1c th\u1ef1c ch\u1eb7n ng\u01b0\u1eddi ch\u01b0a \u0111\u01b0\u1ee3c c\u1ea5p quy\u1ec1n, k\u1ec3 c\u1ea3 khi h\u1ecd bi\u1ebft t\u00ean mi\u1ec1n.<\/p>\n\n\n\n<h4 id=\"\u0110\u0103ng_k\u00fd_Cloudflare_Zero_Trust_(n\u1ebfu_ch\u01b0a_c\u00f3)\">\u0110\u0103ng k\u00fd Cloudflare Zero Trust (n\u1ebfu ch\u01b0a c\u00f3)<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">L\u1ea7n \u0111\u1ea7u d\u00f9ng, v\u00e0o <strong>Zero Trust \u2192 Overview \u2192 Get started<\/strong>, ch\u1ecdn g\u00f3i <strong>Free<\/strong> v\u00e0 ho\u00e0n t\u1ea5t b\u01b0\u1edbc x\u00e1c nh\u1eadn ph\u01b0\u01a1ng th\u1ee9c thanh to\u00e1n theo y\u00eau c\u1ea7u c\u1ee7a Cloudflare. \u1ede th\u1eddi \u0111i\u1ec3m ch\u1ee5p, g\u00f3i Free ghi $0\/th\u00e1ng v\u00e0 b\u1ea3o v\u1ec7 t\u1ed1i \u0111a 50 ng\u01b0\u1eddi d\u00f9ng.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1315\" height=\"704\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-zero-trust-free-che.webp\" alt=\"Trang Activate Zero Trust Free: Order summary g\u00f3i Zero Trust Free, t\u1ed1i \u0111a 50 ng\u01b0\u1eddi d\u00f9ng, $0\/month; email v\u00e0 s\u1ed1 th\u1ebb thanh to\u00e1n \u0111\u00e3 che\" class=\"wp-image-132021\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-zero-trust-free-che.webp 1315w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-zero-trust-free-che-300x161.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-zero-trust-free-che-1024x548.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-zero-trust-free-che-768x411.webp 768w\" sizes=\"(max-width: 1315px) 100vw, 1315px\" \/><\/figure>\n\n\n\n<h4 id=\"T\u1ea1o_\u1ee9ng_d\u1ee5ng_Cloudflare_Access\">T\u1ea1o \u1ee9ng d\u1ee5ng Cloudflare Access<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">M\u1edf <strong>Zero Trust \u2192 Access controls \u2192 Applications<\/strong>, nh\u1ea5n <strong>Create new application<\/strong>, ch\u1ecdn <strong>Self-hosted and private<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1877\" height=\"901\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-access-applications-che.webp\" alt=\"Zero Trust m\u1ee5c Access controls \u2192 Applications v\u1edbi n\u00fat Create new application; t\u00ean t\u00e0i kho\u1ea3n Cloudflare \u1edf g\u00f3c tr\u00e1i \u0111\u00e3 che\" class=\"wp-image-132017\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-access-applications-che.webp 1877w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-access-applications-che-300x144.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-access-applications-che-1024x492.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-access-applications-che-768x369.webp 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-access-applications-che-1536x737.webp 1536w\" sizes=\"(max-width: 1877px) 100vw, 1877px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1191\" height=\"820\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_18.png\" alt=\"H\u1ed9p tho\u1ea1i Add an application tab Self-hosted and private, s\u01a1 \u0111\u1ed3 Sources, Policies, Destinations v\u00e0 n\u00fat Continue with Self-hosted and private\" class=\"wp-image-130722\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_18.png 1191w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_18-300x207.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_18-1024x705.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_18-768x529.png 768w\" sizes=\"(max-width: 1191px) 100vw, 1191px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Ch\u1ecdn <strong>Add public hostname<\/strong> v\u00e0 nh\u1eadp t\u00ean mi\u1ec1n c\u1ea7n b\u1ea3o v\u1ec7, v\u00ed d\u1ee5 <code>openclaw.example.com<\/code>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1553\" height=\"785\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_19.png\" alt=\"M\u1ee5c Destinations, Public hostnames: subdomain openclaw v\u00e0 domain t\u00ean mi\u1ec1n th\u1eed nghi\u1ec7m \u0111\u01b0\u1ee3c khoanh \u0111\u1ecf\" class=\"wp-image-130724\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_19.png 1553w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_19-300x152.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_19-1024x518.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_19-768x388.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_19-1536x776.png 1536w\" sizes=\"(max-width: 1553px) 100vw, 1553px\" \/><\/figure>\n\n\n\n<h4 id=\"Thi\u1ebft_l\u1eadp_quy\u1ec1n_truy_c\u1eadp\">Thi\u1ebft l\u1eadp quy\u1ec1n truy c\u1eadp<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">K\u00e9o xu\u1ed1ng ph\u1ea7n <strong>Access policies<\/strong> v\u00e0 t\u1ea1o ch\u00ednh s\u00e1ch m\u1edbi:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u0110\u1eb7t t\u00ean ch\u00ednh s\u00e1ch.<\/li>\n\n\n<li>Ch\u1ecdn h\u00e0nh \u0111\u1ed9ng <strong>Allow<\/strong>.<\/li>\n\n\n<li>\u1ede quy t\u1eafc <strong>Include<\/strong>, ch\u1ecdn <strong>Emails<\/strong>.<\/li>\n\n\n<li>Nh\u1eadp email \u0111\u01b0\u1ee3c ph\u00e9p truy c\u1eadp.<\/li>\n\n\n<li>L\u01b0u ch\u00ednh s\u00e1ch.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1489\" height=\"537\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_20.png\" alt=\"Ph\u1ea7n Access policies ch\u01b0a c\u00f3 ch\u00ednh s\u00e1ch, n\u00fat Create new policy\" class=\"wp-image-130723\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_20.png 1489w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_20-300x108.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_20-1024x369.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_20-768x277.png 768w\" sizes=\"(max-width: 1489px) 100vw, 1489px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1570\" height=\"767\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-access-policy-che.webp\" alt=\"H\u1ed9p tho\u1ea1i Create new policy: quy t\u1eafc Include theo Emails v\u1edbi m\u1ed9t \u0111\u1ecba ch\u1ec9 email (\u0111\u00e3 che), Policy name AI Agent, Action Allow v\u00e0 n\u00fat Save policy\" class=\"wp-image-132018\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-access-policy-che.webp 1570w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-access-policy-che-300x147.webp 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-access-policy-che-1024x500.webp 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-access-policy-che-768x375.webp 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/dung-cloudflare-tunnel-bao-mat-openclaw-access-policy-che-1536x750.webp 1536w\" sizes=\"(max-width: 1570px) 100vw, 1570px\" \/><\/figure>\n\n\n\n<h4 id=\"Ch\u1ecdn_ph\u01b0\u01a1ng_th\u1ee9c_\u0111\u0103ng_nh\u1eadp\">Ch\u1ecdn ph\u01b0\u01a1ng th\u1ee9c \u0111\u0103ng nh\u1eadp<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">\u1ede ph\u1ea7n <strong>Authentication<\/strong>, ch\u1ecdn nh\u00e0 cung c\u1ea5p danh t\u00ednh cho \u1ee9ng d\u1ee5ng. N\u1ebfu mu\u1ed1n nh\u1eadn m\u00e3 \u0111\u0103ng nh\u1eadp qua email, th\u00eam <strong>One-time PIN<\/strong> t\u1ea1i <strong>Zero Trust \u2192 Integrations \u2192 Identity providers<\/strong>. Cu\u1ed1i c\u00f9ng nh\u1ea5n <strong>Create<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1502\" height=\"493\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_22.png\" alt=\"Ph\u1ea7n Authentication c\u1ee7a \u1ee9ng d\u1ee5ng Access: ch\u1ecdn identity provider, Apply instant authentication \u0111ang b\u1eadt\" class=\"wp-image-130726\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_22.png 1502w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_22-300x98.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_22-768x252.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_22-1024x336.png 1024w\" sizes=\"(max-width: 1502px) 100vw, 1502px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>L\u01b0u \u00fd:<\/strong> sau khi t\u1ea1o, m\u1edf t\u00ean mi\u1ec1n \u1edf c\u1eeda s\u1ed5 \u1ea9n danh \u0111\u1ec3 ch\u1eafc Access h\u1ecfi x\u00e1c th\u1ef1c. \u0110\u1ed3ng th\u1eddi ch\u1eb7n c\u00e1c \u0111\u01b0\u1eddng v\u00e0o Dashboard c\u0169 (IP:c\u1ed5ng, t\u00ean mi\u1ec1n c\u0169) \u0111\u1ec3 kh\u00f4ng ai \u0111i v\u00f2ng qua Access.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_6._Ho\u00e0n_thi\u1ec7n_c\u1ea5u_h\u00ecnh_OpenClaw_ho\u1eb7c_Hermes_Agent\">B\u01b0\u1edbc 6. Ho\u00e0n thi\u1ec7n c\u1ea5u h\u00ecnh OpenClaw ho\u1eb7c Hermes Agent<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Sau khi c\u00f3 tunnel v\u00e0 Access, ki\u1ec3m tra Dashboard qua t\u00ean mi\u1ec1n HTTPS m\u1edbi. Tu\u1ef3 c\u00e1ch c\u00e0i, m\u1ed9t s\u1ed1 thi\u1ebft l\u1eadp c\u1ea7n ch\u1ec9nh \u0111\u1ec3 ch\u1ea1y \u0111\u00fang.<\/p>\n\n\n\n<h4 id=\"Tr\u01b0\u1eddng_h\u1ee3p_1:_OpenClaw\">Tr\u01b0\u1eddng h\u1ee3p 1: OpenClaw<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">M\u1edf <code>https:\/\/openclaw.example.com<\/code>, \u0111\u0103ng nh\u1eadp qua Cloudflare Access. L\u1ea7n \u0111\u1ea7u, OpenClaw c\u00f3 th\u1ec3 h\u1ecfi Gateway token ho\u1eb7c m\u1eadt kh\u1ea9u nh\u01b0 \u1ea3nh d\u01b0\u1edbi; d\u00e1n token \u0111\u1ec3 k\u1ebft n\u1ed1i.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1664\" height=\"950\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_23.png\" alt=\"Trang OpenClaw &quot;Gateway n\u00e0y y\u00eau c\u1ea7u m\u00e3 th\u00f4ng b\u00e1o&quot; qua t\u00ean mi\u1ec1n m\u1edbi: \u00f4 URL Gateway wss:\/\/, \u00f4 th\u00f4ng tin x\u00e1c th\u1ef1c Gateway v\u00e0 h\u01b0\u1edbng d\u1eabn l\u1ea5y token b\u1eb1ng openclaw gateway auth-token --show\" class=\"wp-image-130727\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_23.png 1664w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_23-300x171.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_23-1024x585.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_23-768x438.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_23-1536x877.png 1536w\" sizes=\"(max-width: 1664px) 100vw, 1664px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Sau \u0111\u00f3 ki\u1ec3m tra giao di\u1ec7n OpenClaw v\u00e0 th\u1eed g\u1eedi m\u1ed9t tin nh\u1eafn.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1800\" height=\"967\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_24.png\" alt=\"Giao di\u1ec7n chat OpenClaw m\u1edf qua t\u00ean mi\u1ec1n HTTPS m\u1edbi sau khi \u0111\u0103ng nh\u1eadp Cloudflare Access\" class=\"wp-image-130728\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_24.png 1800w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_24-300x161.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_24-1024x550.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_24-768x413.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_24-1536x825.png 1536w\" sizes=\"(max-width: 1800px) 100vw, 1800px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">N\u1ebfu kh\u00f4ng v\u00e0o \u0111\u01b0\u1ee3c v\u00ec \u0111ang <strong>ch\u1edd gh\u00e9p n\u1ed1i thi\u1ebft b\u1ecb<\/strong> (device pairing), l\u00e0m nh\u01b0 sau:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>M\u1edf Dashboard qua \u0111\u01b0\u1eddng c\u0169 \u0111ang d\u00f9ng \u0111\u01b0\u1ee3c.<\/li>\n\n\n<li>V\u00e0o <strong>Settings \u2192 Devices<\/strong>.<\/li>\n\n\n<li>Duy\u1ec7t tr\u00ecnh duy\u1ec7t \u0111ang ch\u1edd k\u1ebft n\u1ed1i.<\/li>\n\n\n<li>Quay l\u1ea1i t\u00ean mi\u1ec1n m\u1edbi \u0111\u1ec3 d\u00f9ng.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Tr\u00ean m\u00e1y ch\u1ee7, c\u00f3 th\u1ec3 duy\u1ec7t b\u1eb1ng <code>openclaw devices approve --latest<\/code> r\u1ed3i ch\u1ea1y l\u1ea1i l\u1ec7nh duy\u1ec7t m\u00e0 OpenClaw in ra (<a href=\"https:\/\/docs.openclaw.ai\/gateway\/cloudflare-access\" target=\"_blank\" rel=\"noopener nofollow\">OpenClaw: Cloudflare Tunnel and Access<\/a>).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">V\u1edbi OpenClaw c\u00e0i tr\u1ef1c ti\u1ebfp tr\u00ean VPS, n\u1ebfu c\u1ea7n khai b\u00e1o \u0111\u1ecba ch\u1ec9 c\u00f4ng khai m\u1edbi cho li\u00ean k\u1ebft phi\u00ean v\u00e0 ki\u1ec3m tra origin c\u1ee7a tr\u00ecnh duy\u1ec7t:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>openclaw config set gateway.publicOrigin https:\/\/openclaw.example.com\nopenclaw gateway restart<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Gi\u1eef nguy\u00ean Gateway token ho\u1eb7c m\u1eadt kh\u1ea9u c\u1ee7a OpenClaw \u0111\u1ec3 c\u00f3 th\u00eam m\u1ed9t l\u1edbp b\u1ea3o v\u1ec7 ngo\u00e0i Access. T\u00e0i li\u1ec7u OpenClaw c\u00f2n m\u00f4 t\u1ea3 c\u00e1ch n\u00e2ng cao: \u0111\u1eb7t <code>gateway.auth.mode: \"trusted-proxy\"<\/code> \u0111\u1ec3 Gateway nh\u1eadn danh t\u00ednh t\u1eeb header <code>cf-access-authenticated-user-email<\/code> c\u1ee7a Access; c\u00e1ch n\u00e0y ch\u1ec9 an to\u00e0n khi c\u1ed5ng Gateway kh\u00f4ng m\u1edf cho ti\u1ebfn tr\u00ecnh l\u1ea1 tr\u00ean m\u00e1y (<a href=\"https:\/\/docs.openclaw.ai\/gateway\/cloudflare-access\" target=\"_blank\" rel=\"noopener nofollow\">OpenClaw: trusted-proxy v\u1edbi Cloudflare Access<\/a>).<\/p>\n\n\n\n<h4 id=\"Tr\u01b0\u1eddng_h\u1ee3p_2:_Hermes_Agent\">Tr\u01b0\u1eddng h\u1ee3p 2: Hermes Agent<\/h4>\n\n\n\n<p class=\"wp-block-paragraph\">V\u1edbi Hermes Agent, ki\u1ec3m tra Dashboard c\u00f3 ch\u1ea1y qua t\u00ean mi\u1ec1n m\u1edbi kh\u00f4ng, v\u00ed d\u1ee5 <code>https:\/\/hermes.example.com<\/code>. Hermes Agent y\u00eau c\u1ea7u Dashboard c\u00f3 ph\u01b0\u01a1ng th\u1ee9c x\u00e1c th\u1ef1c ph\u00f9 h\u1ee3p khi d\u00f9ng \u0111\u1ecba ch\u1ec9 c\u00f4ng khai; n\u1ebfu d\u00f9ng \u0111\u0103ng nh\u1eadp OAuth, \u0111\u0103ng k\u00fd \u0111\u00fang \u0111\u1ecba ch\u1ec9 callback tr\u01b0\u1edbc khi b\u1eadt. C\u00e1ch c\u00e0i v\u00e0 c\u1ea5u h\u00ecnh Hermes c\u00f3 \u1edf b\u00e0i <a href=\"https:\/\/tino.vn\/blog\/cai-dat-va-su-dung-hermes-agent-tren-vps\/\">c\u00e0i \u0111\u1eb7t v\u00e0 s\u1eed d\u1ee5ng Hermes Agent tr\u00ean VPS<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">V\u1edbi VPS Hermes c\u00e0i s\u1eb5n, ki\u1ec3m tra c\u1ea5u h\u00ecnh Dashboard v\u00e0 c\u01a1 ch\u1ebf \u0111\u0103ng nh\u1eadp tr\u01b0\u1edbc khi \u0111\u1ed5i.<\/p>\n\n\n\n<h3 id=\"B\u01b0\u1edbc_7._Ki\u1ec3m_tra_truy_c\u1eadp_v\u00e0_b\u1ea3o_m\u1eadt_b\u1eb1ng_tr\u00ecnh_duy\u1ec7t_\u1ea9n_danh\">B\u01b0\u1edbc 7. Ki\u1ec3m tra truy c\u1eadp v\u00e0 b\u1ea3o m\u1eadt b\u1eb1ng tr\u00ecnh duy\u1ec7t \u1ea9n danh<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">M\u1edf tr\u00ecnh duy\u1ec7t \u1ea9n danh v\u00e0 truy c\u1eadp <code>https:\/\/openclaw.example.com<\/code>, <code>https:\/\/hermes.example.com<\/code>. K\u1ebft qu\u1ea3 mong \u0111\u1ee3i: trang x\u00e1c th\u1ef1c Cloudflare Access hi\u1ec7n ra tr\u01b0\u1edbc khi v\u00e0o \u1ee9ng d\u1ee5ng.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1893\" height=\"914\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_25.png\" alt=\"C\u1eeda s\u1ed5 \u1ea9n danh m\u1edf t\u00ean mi\u1ec1n OpenClaw b\u1ecb chuy\u1ec3n t\u1edbi trang \u0111\u0103ng nh\u1eadp c\u1ee7a Cloudflare tr\u01b0\u1edbc khi v\u00e0o \u1ee9ng d\u1ee5ng\" class=\"wp-image-130729\" title=\"\" srcset=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_25.png 1893w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_25-300x145.png 300w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_25-1024x494.png 1024w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_25-768x371.png 768w, https:\/\/tino.vn\/blog\/wp-content\/uploads\/2026\/10\/Screenshot_25-1536x742.png 1536w\" sizes=\"(max-width: 1893px) 100vw, 1893px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Sau khi \u0111\u0103ng nh\u1eadp b\u1eb1ng t\u00e0i kho\u1ea3n \u0111\u01b0\u1ee3c c\u1ea5p quy\u1ec1n, giao di\u1ec7n AI Agent hi\u1ec7n ra. Ki\u1ec3m tra th\u00eam:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Email kh\u00f4ng c\u00f3 trong policy b\u1ecb t\u1eeb ch\u1ed1i (Access Denied).<\/li>\n\n\n<li>Truy c\u1eadp <code>http:\/\/&lt;IP-VPS&gt;:18789<\/code> t\u1eeb b\u00ean ngo\u00e0i kh\u00f4ng k\u1ebft n\u1ed1i \u0111\u01b0\u1ee3c.<\/li>\n\n\n<li>L\u1ec7nh <code>sudo ss -lntp<\/code> cho th\u1ea5y Gateway ch\u1ec9 nghe \u1edf 127.0.0.1.<\/li>\n\n\n<li>Chat tr\u00ean Dashboard g\u1eedi v\u00e0 nh\u1eadn tin nh\u1eafn b\u00ecnh th\u01b0\u1eddng (WebSocket ho\u1ea1t \u0111\u1ed9ng).<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Ch\u1ec9 khi c\u00e1c b\u01b0\u1edbc tr\u00ean \u0111\u1ec1u \u0111\u1ea1t, m\u1edbi g\u1ee1 c\u00e1c quy t\u1eafc m\u1edf c\u1ed5ng qu\u1ea3n tr\u1ecb c\u0169 kh\u00f4ng c\u00f2n c\u1ea7n. Kh\u00f4ng \u0111\u00f3ng c\u1ed5ng SSH 22 tr\u01b0\u1edbc khi c\u00f3 c\u00e1ch qu\u1ea3n tr\u1ecb VPS thay th\u1ebf \u0111\u00e3 th\u1eed th\u00e0nh c\u00f4ng.<\/p>\n\n\n\n<h2 id=\"C\u00e1c_l\u1ed7i_th\u01b0\u1eddng_g\u1eb7p_khi_d\u00f9ng_Cloudflare_Tunnel_cho_AI_Agent\">C\u00e1c l\u1ed7i th\u01b0\u1eddng g\u1eb7p khi d\u00f9ng Cloudflare Tunnel cho AI Agent<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">L\u1ed7i th\u01b0\u1eddng g\u1eb7p v\u1edbi Cloudflare Tunnel chia hai nh\u00f3m: tunnel ch\u01b0a n\u1ed1i \u0111\u01b0\u1ee3c Cloudflare, ho\u1eb7c tunnel \u0111\u00e3 n\u1ed1i nh\u01b0ng kh\u00f4ng t\u1edbi \u0111\u01b0\u1ee3c d\u1ecbch v\u1ee5 tr\u00ean VPS.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>L\u1ed7i<\/th><th>Nguy\u00ean nh\u00e2n v\u00e0 c\u00e1ch kh\u1eafc ph\u1ee5c<\/th><\/tr><\/thead><tbody><tr><td>Tunnel hi\u1ec7n Down ho\u1eb7c Inactive<\/td><td>Ki\u1ec3m tra cloudflared, token v\u00e0 k\u1ebft n\u1ed1i m\u1ea1ng chi\u1ec1u ra (c\u1ed5ng 7844) c\u1ee7a VPS.<\/td><\/tr><tr><td>Cloudflare Error 1033<\/td><td>Tunnel ch\u01b0a k\u1ebft n\u1ed1i t\u1edbi m\u1ea1ng Cloudflare, Cloudflare kh\u00f4ng t\u00ecm th\u1ea5y cloudflared kho\u1ebb. Ki\u1ec3m tra tr\u1ea1ng th\u00e1i d\u1ecbch v\u1ee5 v\u00e0 log (<a href=\"https:\/\/developers.cloudflare.com\/support\/troubleshooting\/http-status-codes\/cloudflare-1xxx-errors\/error-1033\/\" target=\"_blank\" rel=\"noopener nofollow\">Cloudflare: Error 1033<\/a>).<\/td><\/tr><tr><td>502 Bad Gateway<\/td><td>Tunnel ch\u1ea1y nh\u01b0ng kh\u00f4ng t\u1edbi \u0111\u01b0\u1ee3c d\u1ecbch v\u1ee5 n\u1ed9i b\u1ed9. Ki\u1ec3m tra Service URL, c\u1ed5ng v\u00e0 ti\u1ebfn tr\u00ecnh AI Agent.<\/td><\/tr><tr><td>Access Denied<\/td><td>Email \u0111\u0103ng nh\u1eadp kh\u00f4ng c\u00f3 trong policy Cloudflare Access.<\/td><\/tr><tr><td>Dashboard m\u1edf \u0111\u01b0\u1ee3c nh\u01b0ng chat kh\u00f4ng k\u1ebft n\u1ed1i<\/td><td>Ki\u1ec3m tra WebSocket, x\u00e1c th\u1ef1c Gateway v\u00e0 <code>gateway.publicOrigin<\/code>.<\/td><\/tr><tr><td>Thi\u1ebft b\u1ecb ch\u1edd gh\u00e9p n\u1ed1i<\/td><td>Duy\u1ec7t tr\u00ecnh duy\u1ec7t \u1edf Settings \u2192 Devices ho\u1eb7c b\u1eb1ng <code>openclaw devices approve --latest<\/code>.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Xem log cloudflared tr\u00ean VPS:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo journalctl -u cloudflared -n 50 --no-pager<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">V\u1edbi l\u1ed7i 502, th\u1eed k\u1ebft n\u1ed1i tr\u1ef1c ti\u1ebfp t\u1edbi Service URL ngay tr\u00ean VPS b\u1eb1ng <code>curl -I<\/code>. D\u1ecbch v\u1ee5 n\u1ed9i b\u1ed9 kh\u00f4ng ph\u1ea3n h\u1ed3i th\u00ec x\u1eed l\u00fd \u1ee9ng d\u1ee5ng tr\u01b0\u1edbc, ch\u01b0a c\u1ea7n \u0111\u1ed5i c\u1ea5u h\u00ecnh Cloudflare.<\/p>\n\n\n\n<h2 id=\"Nh\u1eefng_l\u01b0u_\u00fd_khi_b\u1ea3o_m\u1eadt_AI_Agent_b\u1eb1ng_Cloudflare_Tunnel\">Nh\u1eefng l\u01b0u \u00fd khi b\u1ea3o m\u1eadt AI Agent b\u1eb1ng Cloudflare Tunnel<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Cloudflare Tunnel gi\u1ea3m nguy c\u01a1 b\u1ecb truy c\u1eadp tr\u1ef1c ti\u1ebfp v\u00e0o c\u1ed5ng qu\u1ea3n tr\u1ecb, nh\u01b0ng kh\u00f4ng thay \u0111\u01b0\u1ee3c c\u00e1c bi\u1ec7n ph\u00e1p b\u1ea3o m\u1eadt kh\u00e1c c\u1ee7a VPS (<a href=\"https:\/\/docs.openclaw.ai\/gateway\/security\" target=\"_blank\" rel=\"noopener nofollow\">OpenClaw: Security<\/a>). N\u00ean:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Kh\u00f4ng c\u00f4ng khai c\u1ed5ng Dashboard:<\/strong> gi\u1eef c\u1ed5ng qu\u1ea3n tr\u1ecb \u1edf localhost ho\u1eb7c m\u1ea1ng n\u1ed9i b\u1ed9 tin c\u1eady.<\/li>\n\n\n<li><strong>Gi\u1edbi h\u1ea1n t\u00e0i kho\u1ea3n:<\/strong> ch\u1ec9 c\u1ea5p quy\u1ec1n Access cho email th\u1eadt s\u1ef1 c\u1ea7n.<\/li>\n\n\n<li><strong>Gi\u1eef x\u00e1c th\u1ef1c \u1ee9ng d\u1ee5ng:<\/strong> kh\u00f4ng t\u1eaft token, m\u1eadt kh\u1ea9u hay OAuth c\u1ee7a agent ch\u1ec9 v\u00ec \u0111\u00e3 c\u00f3 tunnel.<\/li>\n\n\n<li><strong>C\u1eadp nh\u1eadt ph\u1ea7n m\u1ec1m:<\/strong> cloudflared, OpenClaw, Hermes Agent v\u00e0 th\u00e0nh ph\u1ea7n li\u00ean quan.<\/li>\n\n\n<li><strong>B\u1ea3o v\u1ec7 token v\u00e0 API key:<\/strong> kh\u00f4ng chia s\u1ebb tunnel token, Gateway token hay kho\u00e1 API c\u1ee7a nh\u00e0 cung c\u1ea5p AI.<\/li>\n\n\n<li><strong>Ki\u1ec3m so\u00e1t quy\u1ec1n th\u1ef1c thi:<\/strong> h\u1ea1n ch\u1ebf quy\u1ec1n t\u1ec7p, terminal v\u00e0 c\u00f4ng c\u1ee5 nh\u1ea1y c\u1ea3m c\u1ee7a agent.<\/li>\n\n\n<li><strong>B\u1ea3o v\u1ec7 d\u1ecbch v\u1ee5 kh\u00e1c:<\/strong> SSH, website hay API c\u00f4ng khai tr\u00ean VPS c\u1ea7n b\u1ea3o v\u1ec7 ri\u00eang.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">V\u1edbi t\u00edch h\u1ee3p d\u00f9ng webhook: n\u1ebfu d\u1ecbch v\u1ee5 b\u00ean ngo\u00e0i g\u1eedi y\u00eau c\u1ea7u th\u1eb3ng t\u1edbi OpenClaw ho\u1eb7c Hermes Agent, policy Access d\u00e0nh cho ng\u01b0\u1eddi d\u00f9ng s\u1ebd ch\u1eb7n y\u00eau c\u1ea7u t\u1ef1 \u0111\u1ed9ng. H\u00e3y t\u1ea1o \u0111\u01b0\u1eddng nh\u1eadn webhook ri\u00eang c\u00f3 x\u00e1c th\u1ef1c ph\u00f9 h\u1ee3p (v\u00ed d\u1ee5 service token c\u1ee7a Access) thay v\u00ec b\u1ecf b\u1ea3o v\u1ec7 c\u1ea3 Dashboard.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">C\u00e1c l\u1edbp kh\u00e1c n\u00ean l\u00e0m c\u00f9ng: <a href=\"https:\/\/tino.vn\/blog\/bao-mat-vps-ubuntu\/\">b\u1ea3o m\u1eadt VPS Ubuntu<\/a> (t\u01b0\u1eddng l\u1eeda, SSH key), <a href=\"https:\/\/tino.vn\/blog\/cach-ly-sandbox-cho-ai-agent-tren-vps\/\">c\u00e1ch ly sandbox cho AI Agent<\/a>, v\u00e0 n\u1ebfu c\u1ea7n reverse proxy c\u00f3 SSL cho n8n l\u1eabn OpenClaw th\u00ec xem <a href=\"https:\/\/tino.vn\/blog\/cau-hinh-nginx-reverse-proxy-va-ssl-cho-n8n\/\">c\u1ea5u h\u00ecnh Nginx reverse proxy v\u00e0 SSL<\/a>.<\/p>\n\n\n\n<h2 id=\"K\u1ebft_lu\u1eadn\">K\u1ebft lu\u1eadn<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Cloudflare Tunnel k\u1ebft h\u1ee3p Cloudflare Access l\u00e0 c\u00e1ch ph\u00f9 h\u1ee3p \u0111\u1ec3 qu\u1ea3n l\u00fd OpenClaw v\u00e0 Hermes Agent tr\u00ean VPS qua t\u00ean mi\u1ec1n HTTPS m\u00e0 kh\u00f4ng m\u1edf c\u1ed5ng Dashboard. Khi tri\u1ec3n khai, gi\u1eef d\u1ecbch v\u1ee5 \u1edf \u0111\u1ecba ch\u1ec9 n\u1ed9i b\u1ed9, b\u1ea3o v\u1ec7 t\u00ean mi\u1ec1n b\u1eb1ng Access, gi\u1eef x\u00e1c th\u1ef1c c\u1ee7a \u1ee9ng d\u1ee5ng, c\u1eadp nh\u1eadt ph\u1ea7n m\u1ec1m v\u00e0 r\u00e0 c\u00e1c c\u1ed5ng \u0111ang m\u1edf \u0111\u1ecbnh k\u1ef3.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p class=\"wp-block-paragraph\">Mu\u1ed1n ch\u1ea1y OpenClaw 24\/7 m\u00e0 kh\u00f4ng t\u1ef1 c\u00e0i? <a href=\"https:\/\/tino.vn\/vps-openclaw\">VPS OpenClaw c\u1ee7a Tino<\/a> c\u00e0i s\u1eb5n OpenClaw tr\u00ean VPS NVMe \u0111\u1eb7t t\u1ea1i Vi\u1ec7t Nam; b\u1ea1n v\u1eabn c\u00f3 quy\u1ec1n root \u0111\u1ec3 c\u1ea5u h\u00ecnh. Xem c\u1ea5u h\u00ecnh v\u00e0 gi\u00e1 tr\u00ean trang s\u1ea3n ph\u1ea9m.<\/p>\n<\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>B\u00e0i vi\u1ebft li\u00ean quan:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/tino.vn\/blog\/rui-ro-bao-mat-khi-dung-openclaw\/\">R\u1ee7i ro b\u1ea3o m\u1eadt khi d\u00f9ng OpenClaw<\/a><\/li>\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/trien-khai-browserless-sandbox-tren-vps\/\">Tri\u1ec3n khai Browserless tr\u00ean VPS l\u00e0m tr\u00ecnh duy\u1ec7t cho OpenClaw<\/a><\/li>\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/vps-chay-ai-agent\/\">VPS ch\u1ea1y AI Agent<\/a><\/li>\n\n\n<li><a href=\"https:\/\/tino.vn\/blog\/so-sanh-hermes-agent-vs-openclaw\/\">So s\u00e1nh Hermes Agent v\u00e0 OpenClaw<\/a><\/li>\n<\/ul>\n\n\n\n<h2 id=\"Nh\u1eefng_c\u00e2u_h\u1ecfi_th\u01b0\u1eddng_g\u1eb7p\">Nh\u1eefng c\u00e2u h\u1ecfi th\u01b0\u1eddng g\u1eb7p<\/h2>\n\n\n\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"Cloudflare_Tunnel_c\u00f3_mi\u1ec5n_ph\u00ed_kh\u00f4ng?\">Cloudflare Tunnel c\u00f3 mi\u1ec5n ph\u00ed kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Cloudflare cung c\u1ea5p Tunnel v\u00e0 c\u00e1c t\u00ednh n\u0103ng c\u01a1 b\u1ea3n c\u1ee7a Zero Trust trong g\u00f3i Free; \u1edf th\u1eddi \u0111i\u1ec3m ch\u1ee5p \u1ea3nh, g\u00f3i Free ghi $0\/th\u00e1ng cho t\u1ed1i \u0111a 50 ng\u01b0\u1eddi d\u00f9ng. Gi\u1edbi h\u1ea1n t\u1eebng t\u00ednh n\u0103ng c\u00f3 th\u1ec3 thay \u0111\u1ed5i, n\u00ean ki\u1ec3m tra \u0111i\u1ec1u ki\u1ec7n tr\u00ean trang Cloudflare tr\u01b0\u1edbc khi tri\u1ec3n khai.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"Cloudflare_Tunnel_c\u00f3_thay_th\u1ebf_\u0111\u01b0\u1ee3c_Tailscale_kh\u00f4ng?\">Cloudflare Tunnel c\u00f3 thay th\u1ebf \u0111\u01b0\u1ee3c Tailscale kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">C\u00f3 th\u1ec3 trong m\u1ed9t s\u1ed1 tr\u01b0\u1eddng h\u1ee3p. Tunnel k\u00e8m Access h\u1ee3p khi c\u1ea7n m\u1edf Dashboard b\u1eb1ng tr\u00ecnh duy\u1ec7t qua t\u00ean mi\u1ec1n HTTPS. Tailscale h\u1ee3p khi mu\u1ed1n m\u1ea1ng ri\u00eang gi\u1eefa nhi\u1ec1u thi\u1ebft b\u1ecb. Hai c\u00e1ch c\u00f3 th\u1ec3 d\u00f9ng c\u00f9ng nhau.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"M\u1ed9t_Cloudflare_Tunnel_d\u00f9ng_\u0111\u01b0\u1ee3c_cho_nhi\u1ec1u_AI_Agent_kh\u00f4ng?\">M\u1ed9t Cloudflare Tunnel d\u00f9ng \u0111\u01b0\u1ee3c cho nhi\u1ec1u AI Agent kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">\u0110\u01b0\u1ee3c. M\u1ed9t tunnel chuy\u1ec3n ti\u1ebfp nhi\u1ec1u t\u00ean mi\u1ec1n ph\u1ee5 t\u1edbi c\u00e1c d\u1ecbch v\u1ee5 n\u1ed9i b\u1ed9 kh\u00e1c nhau, v\u00ed d\u1ee5 openclaw.example.com t\u1edbi c\u1ed5ng OpenClaw v\u00e0 hermes.example.com t\u1edbi c\u1ed5ng Hermes Agent tr\u00ean c\u00f9ng VPS.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"C\u00f3_c\u1ea7n_m\u1edf_c\u1ed5ng_80_ho\u1eb7c_443_tr\u00ean_VPS_kh\u00f4ng?\">C\u00f3 c\u1ea7n m\u1edf c\u1ed5ng 80 ho\u1eb7c 443 tr\u00ean VPS kh\u00f4ng?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Kh\u00f4ng c\u1ea7n cho chi\u1ec1u v\u00e0o. cloudflared ch\u1ee7 \u0111\u1ed9ng k\u1ebft n\u1ed1i ra Cloudflare; VPS ch\u1ec9 c\u1ea7n cho ph\u00e9p k\u1ebft n\u1ed1i chi\u1ec1u ra t\u1edbi Cloudflare tr\u00ean c\u1ed5ng 7844 qua TCP v\u00e0 UDP.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section\t\thelp class=\"sc_fs_faq sc_card    \"\n\t\t\t\t>\n\t\t\t\t<h2 id=\"\u0110\u00e3_c\u00f3_Cloudflare_Access_th\u00ec_c\u00f3_n\u00ean_t\u1eaft_Gateway_token_c\u1ee7a_OpenClaw?\">\u0110\u00e3 c\u00f3 Cloudflare Access th\u00ec c\u00f3 n\u00ean t\u1eaft Gateway token c\u1ee7a OpenClaw?<\/h2>\t\t\t\t<div>\n\t\t\t\t\t\t<div class=\"sc_fs_faq__content\">\n\t\t\t\t\n\n<p class=\"wp-block-paragraph\">Kh\u00f4ng n\u00ean, tr\u1eeb khi b\u1ea1n c\u1ea5u h\u00ecnh trusted-proxy \u0111\u00fang theo t\u00e0i li\u1ec7u OpenClaw. Gi\u1eef token ho\u1eb7c m\u1eadt kh\u1ea9u Gateway \u0111\u1ec3 v\u1eabn c\u00f2n m\u1ed9t l\u1edbp b\u1ea3o v\u1ec7 n\u1ebfu policy Access b\u1ecb c\u1ea5u h\u00ecnh sai.<\/p>\n\n\t\t\t<\/div>\n\t\t<\/div>\n\t\t<\/section>\n\t\t\n<script type=\"application\/ld+json\">\n\t{\n\t\t\"@context\": \"https:\/\/schema.org\",\n\t\t\"@type\": \"FAQPage\",\n\t\t\"mainEntity\": [\n\t\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"Cloudflare Tunnel c\u00f3 mi\u1ec5n ph\u00ed kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Cloudflare cung c\u1ea5p Tunnel v\u00e0 c\u00e1c t\u00ednh n\u0103ng c\u01a1 b\u1ea3n c\u1ee7a Zero Trust trong g\u00f3i Free; \u1edf th\u1eddi \u0111i\u1ec3m ch\u1ee5p \u1ea3nh, g\u00f3i Free ghi $0\/th\u00e1ng cho t\u1ed1i \u0111a 50 ng\u01b0\u1eddi d\u00f9ng. Gi\u1edbi h\u1ea1n t\u1eebng t\u00ednh n\u0103ng c\u00f3 th\u1ec3 thay \u0111\u1ed5i, n\u00ean ki\u1ec3m tra \u0111i\u1ec1u ki\u1ec7n tr\u00ean trang Cloudflare tr\u01b0\u1edbc khi tri\u1ec3n khai.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"Cloudflare Tunnel c\u00f3 thay th\u1ebf \u0111\u01b0\u1ee3c Tailscale kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>C\u00f3 th\u1ec3 trong m\u1ed9t s\u1ed1 tr\u01b0\u1eddng h\u1ee3p. Tunnel k\u00e8m Access h\u1ee3p khi c\u1ea7n m\u1edf Dashboard b\u1eb1ng tr\u00ecnh duy\u1ec7t qua t\u00ean mi\u1ec1n HTTPS. Tailscale h\u1ee3p khi mu\u1ed1n m\u1ea1ng ri\u00eang gi\u1eefa nhi\u1ec1u thi\u1ebft b\u1ecb. Hai c\u00e1ch c\u00f3 th\u1ec3 d\u00f9ng c\u00f9ng nhau.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"M\u1ed9t Cloudflare Tunnel d\u00f9ng \u0111\u01b0\u1ee3c cho nhi\u1ec1u AI Agent kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>\u0110\u01b0\u1ee3c. M\u1ed9t tunnel chuy\u1ec3n ti\u1ebfp nhi\u1ec1u t\u00ean mi\u1ec1n ph\u1ee5 t\u1edbi c\u00e1c d\u1ecbch v\u1ee5 n\u1ed9i b\u1ed9 kh\u00e1c nhau, v\u00ed d\u1ee5 openclaw.example.com t\u1edbi c\u1ed5ng OpenClaw v\u00e0 hermes.example.com t\u1edbi c\u1ed5ng Hermes Agent tr\u00ean c\u00f9ng VPS.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"C\u00f3 c\u1ea7n m\u1edf c\u1ed5ng 80 ho\u1eb7c 443 tr\u00ean VPS kh\u00f4ng?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Kh\u00f4ng c\u1ea7n cho chi\u1ec1u v\u00e0o. cloudflared ch\u1ee7 \u0111\u1ed9ng k\u1ebft n\u1ed1i ra Cloudflare; VPS ch\u1ec9 c\u1ea7n cho ph\u00e9p k\u1ebft n\u1ed1i chi\u1ec1u ra t\u1edbi Cloudflare tr\u00ean c\u1ed5ng 7844 qua TCP v\u00e0 UDP.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t,\t\t\t\t{\n\t\t\t\t\"@type\": \"Question\",\n\t\t\t\t\"name\": \"\u0110\u00e3 c\u00f3 Cloudflare Access th\u00ec c\u00f3 n\u00ean t\u1eaft Gateway token c\u1ee7a OpenClaw?\",\n\t\t\t\t\"acceptedAnswer\": {\n\t\t\t\t\t\"@type\": \"Answer\",\n\t\t\t\t\t\"text\": \"<p>Kh\u00f4ng n\u00ean, tr\u1eeb khi b\u1ea1n c\u1ea5u h\u00ecnh trusted-proxy \u0111\u00fang theo t\u00e0i li\u1ec7u OpenClaw. Gi\u1eef token ho\u1eb7c m\u1eadt kh\u1ea9u Gateway \u0111\u1ec3 v\u1eabn c\u00f2n m\u1ed9t l\u1edbp b\u1ea3o v\u1ec7 n\u1ebfu policy Access b\u1ecb c\u1ea5u h\u00ecnh sai.<\/p>\"\n\t\t\t\t\t\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t]\n\t}\n<\/script>\n","protected":false},"excerpt":{"rendered":"<p>D\u00f9ng Cloudflare Tunnel b\u1ea3o m\u1eadt OpenClaw v\u00e0 Hermes Agent l\u00e0 c\u00e0i cloudflared tr\u00ean VPS \u0111\u1ec3 t\u1ea1o \u0111\u01b0\u1eddng h\u1ea7m k\u1ebft n\u1ed1i m\u1ed9t chi\u1ec1u ra Cloudflare, r\u1ed3i \u0111\u1eb7t Cloudflare Access ph\u00eda tr\u01b0\u1edbc \u0111\u1ec3 ch\u1ec9 ng\u01b0\u1eddi \u0111\u01b0\u1ee3c c\u1ea5p quy\u1ec1n m\u1edbi v\u00e0o \u0111\u01b0\u1ee3c giao di\u1ec7n qu\u1ea3n tr\u1ecb. B\u1ea1n truy c\u1eadp Dashboard qua t\u00ean mi\u1ec1n HTTPS m\u00e0 kh\u00f4ng m\u1edf c\u1ed5ng [&hellip;]<\/p>\n","protected":false},"author":23,"featured_media":131991,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7592,7552],"tags":[7593,7554],"class_list":["post-130702","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-hermes-agent","category-openclaw","tag-hermes-agent","tag-openclaw"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/130702","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/23"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=130702"}],"version-history":[{"count":6,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/130702\/revisions"}],"predecessor-version":[{"id":132083,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/130702\/revisions\/132083"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/131991"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=130702"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/categories?post=130702"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=130702"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}