SShortSingh.
Back to feed

Zero-Trust Self-Hosting: Secure Your Servers Without Opening Any Ports

0
·1 views

Exposing common ports like 22, 80, or 443 directly on home or cloud servers leaves them vulnerable to automated bot scans, credential stuffing, and exploit attempts. Zero-trust networking, once reserved for large enterprises, is now accessible to individual self-hosters using open-source tools. Three main architectures can eliminate open inbound ports: WireGuard-based mesh networks via Tailscale or self-hosted Headscale, outbound-only edge tunnels through Cloudflare Tunnels for public-facing services, and identity-aware proxies like Pomerium or Authentik for adding SSO and MFA to internal apps. Headscale allows full self-hosted control of the coordination server, while Cloudflare Tunnels are especially useful for users behind carrier-grade NAT such as Starlink. Additional hardening measures include disabling password-based SSH authentication and restricting all inbound traffic through firewall rules.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

APIC Image Processing Tool Moves From Desktop App to Browser Platform

A developer has launched APIC Web, a browser-based version of APIC (Advanced Image Processing Center), eliminating the need to download or install any software. The platform allows users to open a website, sign in, and begin processing images immediately through a streamlined workflow. The web version was built to improve accessibility, making the tool practical for quick tasks, shared computers, and users who prefer not to install additional applications. APIC Web is now publicly available, and the developer is actively seeking user feedback to shape the platform's feature roadmap.

0
ProgrammingDEV Community ·

Developer Builds Free macOS App to Manage 40+ AI-Assisted Side Projects

A full-stack developer with 15 years of experience found that adopting AI coding tools Cursor and Claude Code increased his project output roughly tenfold within six months, leaving him with over 40 active projects in various states of completion. The surge in productivity created a new bottleneck: locating and launching projects had become more time-consuming than building them. To solve this, he created Dev WorkDir, a free macOS menu bar application that centralises project management locally on the user's device. The app auto-detects 29 programming frameworks, supports 26 code editors, and allows users to open or run any project with a single click. Dev WorkDir is available on the Mac App Store at no cost and operates entirely offline with no cloud syncing or user tracking.

0
ProgrammingDEV Community ·

58-Day LLM Agent Study Finds 43% of Failures Were Silent Output Shape Errors

A team running AI agents for real back-office work — including bookkeeping — logged 6,768 failures over 58 days and published the records as an open dataset. Contrary to expectations, 43% of failures were not hallucinations or refusals but 'shape errors,' where the model returned a correctly formatted HTTP 200 response with fluent text that downstream systems could not parse. The single most common failure, occurring 2,535 times, was a missing verdict line that a review agent's contract required, silently breaking the pipeline while human spot-checks showed nothing wrong. A secondary cluster of 1,048 failures involved language errors — including Chinese characters in Japanese output and mixed-language gibberish — often passing length and fluency checks undetected. The team recommends machine-checking output structure before any downstream stage reads it, logging failure reasons rather than just failure events, and measuring produced artifacts rather than agent invocations.

0
ProgrammingDEV Community ·

EnvHarness Claims to Convert Static Data Into Live Agent Training Environments

A newly published research paper introduces EnvHarness, a method designed to transform static content — such as text, code, and game states — into interactive environments where AI agents can take actions and receive feedback. The core problem it targets is that most data used in agent training is inert, offering no response to an agent's actions. However, independent validation is still absent, as no external labs have yet tested agents trained in EnvHarness-generated environments against those trained in established, hand-built simulators. Critics note that auto-generating functional training environments from raw data still requires significant manual specification of actions, world responses, and reward signals, which undermines the cost-saving premise. EnvHarness is currently considered a promising but unproven approach, and its real-world value will depend on reproducible results from teams outside the original authors.

Zero-Trust Self-Hosting: Secure Your Servers Without Opening Any Ports · ShortSingh