Skip to content

BlueKnight Panel 5.2.7

Latest

Choose a tag to compare

@TaJirax TaJirax released this 06 Oct 16:26

Proxy panel, encrypted-DNS gateway and client-subscription server for Cloudflare's edge or any Node 22+ host.

Updates and support: @BlueKnight_Net on Telegram

What's new in 5.2.7

  • Firewall Bypass presets for MCI and Irancell. Routing → Firewall Bypass sets the client TLS for your subscription links: fingerprint, ECH, final mask (F&F), cipher suites and the clean-IP address. Presets fill in the current Cloudflare methods, and every field stays editable:

    Preset What it sets
    MCI: ECH Address 188.114.97.6, fingerprint chrome, ECH key from cloudflare-ech.com+udp://1.1.1.1
    MCI: IPv6 Address 2a06:98c1:3121::7, fingerprint chrome
    MCI: IPv6 + F&F As above plus the F&F mask, for when your worker's domain is filtered
    Irancell: F&F Address 188.114.97.6, fingerprint unsafe, F&F mask and cipher list

    Pick the preset for your firewall, not your SIM: some MCI SIMs sit behind the Irancell firewall and vice versa. The settings reach the vless, trojan and Xray JSON links; sing-box and Clash don't support them.

  • Tested on a real Iranian connection. Irancell F&F and MCI ECH both connected through Cloudflare to the panel. IPv6 presets were not testable from that connection.

  • New settings take effect on save. A setting added in a new version used to wait up to an hour for the settings cache to rebuild before it applied. Saves now apply it immediately.

  • Workers Logs on by default in wrangler.toml, so a Worker failing with error 1101 leaves logs you can read in the dashboard.

Before you use the presets:

  • F&F needs Xray-core 26.9 or newer in your client app. Older cores (26.3 and earlier) reject the mask and the config won't start.
  • ECH won't connect? Your network may block the DNS server that fetches Cloudflare's ECH key. On a test connection udp://1.1.1.1 timed out while udp://8.8.8.8 and the panel's own /dns-query worked. All three are offered in the field.
  • Keep ALPN at http/1.1 in your client app. Offering h2 makes the WebSocket connection through Cloudflare fail.
  • Update the subscription in your client after saving, so it picks up the new links.

Error 1101 on every page, including images, with no logs: Cloudflare has stopped running that Worker before your code starts, and a redeploy does not clear it. Deploy the same file under a new Worker name with the same BK_KV binding; your settings, UUID and subscription token carry over, and clients only need the new address.

Downloads

File Use it when
worker-standalone.js You want to paste one file into the Cloudflare dashboard. Every lib/ module inlined, all ten wallpapers embedded — 1.83 MB, under the 3 MB Workers free-plan limit. The dashboard's Update button installs this file.
BlueKnight-Panel-5.2.7.zip Full deployable project. Unzip and double-click BlueKnight-Deploy.cmd for the interactive picker across all 11 targets.
BlueKnight-Deploy.cmd The Windows launcher on its own, if you already have the project.
deploy.mjs The deploy script on its own.

Paste-deploy to Cloudflare Workers

  1. Dashboard → Workers & Pages → Create → Start from Hello World.
  2. Edit code, select all, paste worker-standalone.js, Deploy.
  3. Settings → Variables → KV Namespace Bindings → bind a namespace to BK_KV.
  4. Settings → Runtime → compatibility date 2024-09-23 or later, enable nodejs_compat. Redeploy.

Open https://<your-worker>.workers.dev/panel and set an admin password.

Sites behind Cloudflare's CDN: Workers cannot open sockets to Cloudflare's own IPs. The Worker retries those through public NAT64 gateways automatically; set Relay for Cloudflare-hosted Sites (ProxyIP) to use your own relay instead.

Without the BK_KV binding the panel cannot store your password or sign sessions, and will refuse to log you in rather than fall back to a shared key.

Free-plan limits worth knowing

  • 100,000 requests per day. Every proxied TCP connection is one request, and so is every DNS lookup while the client DNS resolver is set to panel (the default). If you approach the limit, point the client resolver at a public DoH server.
  • Alternate ports (2053, 2083, 2087, 2096, 8443) work on Cloudflare, but some networks block them. If only port 443 connects, the block is on your network, not the panel.

Deployment targets

Cloudflare Workers · Cloudflare Pages · Vercel · Netlify · Fly.io · Railway · Render · Koyeb · Docker/VPS · Local · Native sing-box stack

All except Netlify carry VLESS/Trojan tunnel traffic; Netlify's function runtime cannot hold a WebSocket open, so use it for the panel and DNS only. node deploy.mjs validates project files and runs any available local regression suites, stopping on failure. Missing local test suites are reported and skipped.

Security

  • Admin password stored as PBKDF2-SHA256, 100,000 iterations, per-record salt. Upgrading from an older build migrates on first login.
  • Session signing key from KV or JWT_SECRET; the panel fails closed rather than falling back to a shared key.
  • The update endpoint accepts only same-origin requests from a logged-in admin, and never stores the Cloudflare API token.
  • Every response carries X-Frame-Options: DENY, X-Content-Type-Options: nosniff and Referrer-Policy: no-referrer; HTML adds a CSP with form-action 'self', base-uri 'none', frame-ancestors 'none'.
  • There is no rate limit on /panel/login — put a Cloudflare WAF rule on it if the panel is internet-facing.

See the README for per-platform instructions and how the panel works internally.