Docker Networking: Connecting to the Host from a Container
Access services on the host machine from inside a Docker container using host-gateway or host.docker.internal — no hardcoded IPs.
All the articles with the tag "networking".
Access services on the host machine from inside a Docker container using host-gateway or host.docker.internal — no hardcoded IPs.
Automate a full WordPress stack deployment — Docker, nginx, and MySQL — using Ansible playbooks instead of clicking through wizards.
Cloudflare Tunnels expose local services to the internet without open ports — secure setup with zero-trust access controls.
Go beyond basic UFW rules — rate limiting, geo-blocking, application profiles, logging, and before.rules tricks for serious firewall hardening.
SSH tunnels forward ports over encrypted connections — local forwarding, remote forwarding, and dynamic SOCKS proxy explained.
socat relays data between almost any two endpoints — TCP, UDP, Unix sockets, files, and serial ports. The netcat you didn't know you needed.
Decode the postgresql:// connection string — host, port, database, SSL mode, and the gotchas that cause connection refused at deploy time.
Harden your home lab against real threats — SSH hardening, fail2ban, network segmentation, backups, and preparing for when things go wrong.
Run a WireGuard VPN server inside Docker — wg-easy setup, peer config generation, and getting road warrior access to your home network.
Expose Docker's Unix socket over TCP so remote tools and dashboards can connect — daemon.json config for Linux and Windows.