Adopt UniFi devices to a VPS controller
Broadcast discovery stops at the first router. Here is how to point remote UniFi access points at a controller on your VPS, and keep port 8080 private.
Filtering by topic #networking · clear
Broadcast discovery stops at the first router. Here is how to point remote UniFi access points at a controller on your VPS, and keep port 8080 private.
A VPS is a computer you rent. A VPN is an encrypted tunnel for your traffic. What each one does, what each costs, and how one can host the other.
DNS decides whether your domain reaches your VPS. Learn the records, nameservers, TTL and the caching that makes a DNS change look like it failed.
Two VPS, one private network: a provider VPC, a WireGuard tunnel you own, or a managed mesh. Subnet choice, service binding, firewall rules and MTU included.
Your cloud firewall or handwritten iptables may only cover IPv4, leaving services wide open on IPv6. See why it happens on a VPS and how to close the gap.
Docker cannot create a network when default pools are used up or overlap host routes or DNS server addresses. Find the cause and fix it in the right order.
Curl your Ollama server on port 11434, read what a refused connection means, tour the API endpoints, and set OLLAMA_HOST without exposing the box.
AllowedIPs is the routing table and the access list at once. Learn cryptokey routing, the Noise handshake and rotation, and every wg0.conf reads clearly.
Advertise a private network to your tailnet from a VPS: route approval, IP forwarding that survives a reboot, and route acceptance on Linux clients.
Tailscale serve puts HTTPS on a private tailnet URL. Funnel opens that same port to the public internet. Which to use, and the policy gate that blocks funnel.
dsh prints http://127.0.0.1:3080 because the Web UI binds to localhost only. Reach it safely with an SSH tunnel, and see why publishing 3080 is unsafe.
Two SSH errors, different signals. Refused means a rejection came back. Timed out means no reply arrived in time. Learn which test to run, and from where.
UFW is the simple way to run a firewall on a VPS. Set a default deny policy, allow only the ports you need, and turn it on without locking out SSH.
Why Docker macvlan usually fails on a rented VPS, what to ask your provider, when ipvlan L2 or L3 works, and why the host cannot reach its own containers.
A container behind Gluetun has no interfaces of its own. Publish its ports on Gluetun, and open only the subnets it must reach outside the tunnel.
Gluetun installs a real firewall kill switch inside its own network namespace. What your containers see when the tunnel dies, and how to prove it holds.
Tor and a VPN answer different questions. See exactly who learns what at every hop, and why a VPS rented in your name is not an anonymity tool.
Eight jobs people run over a tailnet: reach home, borrow a VPS exit IP, share or publish one service, and SSH with no open ports. One command each.
Tailscale over a DERP relay is often slower than direct. Two commands tell you which you have, plus the blocked UDP and hard NAT fixes for a VPS.
Tailscale is a VPN built on WireGuard that links your devices straight to each other. Here is how it works, what its servers see, and when traffic is relayed.
Tailscale needs no inbound port in most setups. See the outbound ports it uses, why 41641 is not 51820, and the ufw and firewalld rules that help on a VPS.
Put a container behind a Gluetun sidecar and its ports vanish. Here is why the shared network namespace does that, and the compose file that works.
Compose gives each project its own bridge; services resolve by name. When host mode is worth it, sharing a network across projects, and the port that skips UFW.
Docker publishes container ports with iptables rules that skip UFW, so a denied port still answers the internet. See the mechanism and the fixes that work.
A port is how a server sorts incoming traffic to the right service. Learn to read what is listening with ss, and tell a local port from a public one.
Datacenter ASNs, hosting flags and shared range reputation explain most VPS blocks. Check how your own IP is classified and what you can legitimately do next.
The vendor Compose example leaves your app on a public host port. Use a Tailscale sidecar so the container has no published port, only a tailnet name.