All tags
Start here · networkingKeep a domain pointed at your home with Cloudflare DDNS on Unraid13 steps · 8 min read · Unraid owners with a domain on Cloudflare and a changing home IP addressStart the guide networking
Narrow down
Guides6
- GuideKeep a domain pointed at your home with Cloudflare DDNS on UnraidSet up favonia/cloudflare-ddns on Unraid: a limited API token kept in a file, a hardened container, and a DNS record that follows your home IP.13 steps · 8 min read
- Guidedig for beginners, look up DNS records and read the answer13 steps · 8 min read
- GuideTest the real speed of your home network with iperf36 steps · 6 min read
- GuideWhy a Tailscale device vanishes after 180 days, and how to stop itFind out why a Tailscale device drops off the tailnet when its node key expires, how to turn expiry off for servers, and how auth keys and tags fit in.10 steps · 11 min read
- GuidePut your VPS and its websites on your home network with Tailscale, and close everything except 80 and 443Put a VPS on your tailnet, move SSH and admin panels onto Tailscale, and leave only ports 80 and 443 open so the websites stay public and everything else is private.6 steps · 8 min read
- GuideLock down your tailnet with Tailscale ACLs and tagsTighten a fresh tailnet where every device reaches every other device, using Tailscale tags and a short policy file with grants.12 steps · 10 min read
Network93
- Tip
wget --limit-rate=2m https://example.com/big-file.isowget --limit-rate keeps a big download from eating all your bandwidthCap the speed of a wget download so the rest of the network stays usable.3 Dec 2026 - Tip
wget --spider https://example.com/file.zipwget --spider checks that a URL exists without downloading itCheck if a URL or a list of links still works, without fetching the content.3 Dec 2026 - Tip
tcpdump -nn -r capture.pcap port 53tcpdump -r reads a saved capture and filters it like a live oneOpen a saved packet capture in tcpdump and filter it with the usual expressions3 Dec 2026 - Tip
Table = offTable = off stops wg-quick from adding routesTells wg-quick to bring the tunnel up without creating any routes, so you add your own.3 Dec 2026 - Tip
caddy reverse-proxy --from :2016 --to :9000caddy reverse-proxy sets up a proxy without a CaddyfileStarts a Caddy reverse proxy from the command line, with no config file.3 Dec 2026 - Tip
caddy fmt --diff Caddyfilecaddy fmt --diff shows what a Caddyfile cleanup would changeCompares a Caddyfile with its formatted version and shows the differences, without touching the file.3 Dec 2026 - Tip
bridge fdb show br br0bridge fdb show lists which MAC address sits behind which bridge portPrints the forwarding table of a Linux bridge, so you can see where a MAC address lives.3 Dec 2026 - Tip
curl --trace-ascii - https://example.com/curl --trace-ascii dumps all sent and received data as readable textWrites a readable log of everything curl sends and receives, headers and body included.3 Dec 2026 - Tip
Retry-After: 120Retry-After tells clients how long to wait, and curl --retry obeys itThe Retry-After header sets how long a client should wait, and curl --retry follows it.3 Dec 2026 - Tip
Get-NetTCPConnection -State ListenGet-NetTCPConnection -State Listen shows which ports your PC is listening onLists every TCP port Windows is listening on, with the process ID that owns each one.2 Dec 2026 - Tip
ls -l /etc/netplan/Chmod 600 on your netplan files keeps Wi-Fi passwords and keys privateStops other local users from reading secrets stored in your network config.1 Dec 2026 - Tip
optional: trueOptional: true in netplan stops boot from waiting for an unplugged portA network port that is often down no longer holds up the startup.1 Dec 2026 - Tip
ip -br linkNetplan match and set-name give a network card a name that stays putRename an interface by its MAC address so the config keeps pointing at it.1 Dec 2026 - Tip
netsh wlan show wlanreportnetsh wlan show wlanreport charts your Windows Wi-Fi dropsCreate an HTML report of recent Wi-Fi sessions, errors and disconnect reasons.1 Dec 2026 - Tip
nmap -sV 192.0.2.10nmap -sV asks open ports what software is really listeningIdentify the service and often the version behind each open port.1 Dec 2026 - Tip
nmap -sL 192.0.2.0/28nmap -sL lists target addresses and their names without scanningPreview what a target range expands to and which names reverse DNS gives.1 Dec 2026 - Tip
nmap --top-ports 20 192.0.2.0/24nmap top-ports checks only the most common ports for a quick lookTrade coverage for speed by checking the most frequently used ports first.1 Dec 2026 - Tip
networksetup -listallhardwareportsnetworksetup -listallhardwareports tells you which port is en0 on a MacMatch device names like en0 or en5 to Wi-Fi, Ethernet and Thunderbolt ports.30 Nov 2026 - Tip
tailscale lock statustailscale lock status shows whether tailnet lock trusts this deviceSee your tailnet lock key and the trusted signing keys from one device.30 Nov 2026 - Tip
Get-DnsClientServerAddress -AddressFamily IPv4Set-DnsClientServerAddress changes the DNS server of one Windows adapterPoint a Windows network adapter at your own DNS server from PowerShell and undo it later.30 Nov 2026 - Tip
AllowedIPs = 198.51.100.2/32, 192.0.2.0/24AllowedIPs in a WireGuard VPN is both a route and a filterUnderstand why traffic goes missing when a WireGuard peer's AllowedIPs list is too narrow.30 Nov 2026 - Tip
tailscale status --json | jq -r '.Peer[] | select(.Online == false) | .HostName'tailscale status in JSON plus jq answers questions the table cannotFilter your device list with jq, for example to list every offline machine.30 Nov 2026 - Tip
curl -4 -s -o /dev/null -w '%{remote_ip} %{http_code}\n' https://example.com/curl -4 and -6 test a site over IPv4 and IPv6 separatelyCheck that a site answers on both address families, not just the one your machine prefers.30 Nov 2026 - Tip
networksetup -getinfo Wi-Finetworksetup -getinfo shows if your Mac got its address from DHCPSee address, subnet, router and DHCP or manual setup for one network service.30 Nov 2026 - Tip
ping -O -D 192.0.2.1ping -O -D shows exactly when a Linux network connection drops repliesLog each missing reply with a timestamp, so short outages become visible.30 Nov 2026 - Tip
curl dict://dict.org/d:latencycurl dict:// looks up a word in an online dictionaryQuery a DICT server for word definitions straight from the terminal.30 Nov 2026 - Tip
tc qdisc add dev eth0 root netem delay 100mstc netem adds fake latency so you can test a slow network on LinuxMake a fast link behave like a slow or lossy one to see how your app copes.30 Nov 2026 - Tip
tailscale serve --bg 8080tailscale serve with a path puts several apps behind one nameServe different local apps under different URL paths on one Tailscale HTTPS name.30 Nov 2026 - Tip
dig @8.8.8.8 www.google.com +subnet=203.0.113.0/24dig +subnet shows the answer a resolver gives other regionsSend an EDNS client subnet with a query to see which servers a CDN picks for another network.30 Nov 2026 - Tip
curl -x socks5h://localhost:1080 https://intranet.example.com/curl socks5h:// lets the proxy look up the host name tooSend both the request and the name lookup through a SOCKS proxy, so DNS does not leak.30 Nov 2026 - Tip
echo | openssl s_client -connect example.com:443 -servername example.com -showcerts 2>/dev/null \Openssl s_client -showcerts saves the chain a server sendsGrab every certificate a server presents, so you can inspect or verify the chain offline.30 Nov 2026 - Tip
ss -xlpss -x lists the Unix sockets that never show up as a port on LinuxFind which process listens on a local socket file, like the Docker or database socket.30 Nov 2026 - Tip
curl --doh-url https://dns.quad9.net/dns-query \curl doh-url looks up the host name over DNS over HTTPSLet one curl command resolve names through a DoH server instead of the system resolver.30 Nov 2026 - Tip
*natA nat block in ufw before.rules lets a VPN server share its internet connectionAdds masquerading and forwarding so VPN clients can reach the internet through the server.30 Nov 2026 - Tip
PersistentKeepalive = 25PersistentKeepalive keeps a WireGuard peer behind NAT reachableStop a WireGuard tunnel from going deaf when the router forgets the UDP mapping.30 Nov 2026 - Tip
umask 077Set umask 077 before wg genkey so your WireGuard VPN key stays privateCreate a WireGuard key pair without leaving the private key readable for other users.30 Nov 2026 - Tip
ethtool -p eth1 10ethtool -p blinks the LED of a network port so you can find it in the rackMake the port light blink so you know which physical socket belongs to eth1.30 Nov 2026 - Tip
dig +short SRV _imaps._tcp.gmail.comdig SRV finds the host and port behind a service nameLook up SRV records for services like XMPP, IMAP or Minecraft to see which host and port clients use.30 Nov 2026 - Tip
options timeout:2 attempts:2 rotateoptions timeout and attempts in resolv.conf decide how long a Linux DNS failure takesShorten the wait when the first name server in resolv.conf is down.30 Nov 2026 - Tip
tailscale whoamitailscale whoami shows which account and device you are onCheck the logged-in user and machine name before you change tailnet settings.30 Nov 2026 - Tip
ss -tno state establishedss -o shows the keepalive and retransmit timers of each Linux TCP connectionSee whether a connection is waiting on keepalive, retransmits or a closing timer.30 Nov 2026 - Tip
scutil --proxyscutil shows the proxy settings your Mac applies right nowSee the active system proxy configuration when some apps cannot reach the internet.30 Nov 2026 - Tip
ss -sss -s counts your sockets before you list themPrints totals of open sockets per protocol and TCP state in a few lines.28 Nov 2026 - Tip
dig @192.168.1.2 example.com AXFRdig AXFR copies a whole zone from a name server you runRequests every record of a DNS zone from a server you run.28 Nov 2026 - Tip
ipconfig /flushdnsipconfig /flushdns clears the Windows DNS cacheEmpties the DNS cache on the Windows PC so names are looked up again.28 Nov 2026 - Tip
nmcli connection modify "Cafe Wifi" 802-11-wireless.cloned-mac-address randomNetworkManager can use a random MAC address every time you join a Wi-Fi networkMakes NetworkManager use a random or per-network MAC address for a Wi-Fi connection.28 Nov 2026 - Tip
tailscale nc my-server 8080tailscale nc tests a port on another device over your tailnetOpens a raw connection to a port on a tailnet device from the command line.28 Nov 2026 - Tip
tailscale set --shields-uptailscale set --shields-up blocks incoming connections on a personal deviceBlocks all incoming connections from your tailnet on one device.28 Nov 2026 - Tip
tailscale set --accept-dns=falsetailscale set --accept-dns=false stops Tailscale from changing a device's DNSMakes one device ignore the DNS settings that the Tailscale admin console sends.28 Nov 2026 - Tip
dig -6 example.com Adig -6 sends the query itself over IPv6, whatever record type you ask forForces dig to reach the resolver over IPv4 or IPv6, independent of the record type asked.28 Nov 2026 - Tip
dnsmasq --testdnsmasq --test checks the config and exits without startingSyntax-checks the dnsmasq configuration and exits without starting the server.28 Nov 2026 - Tip
nmap --script ssl-enum-ciphers -p 443 proxy.example.comnmap --script ssl-enum-ciphers grades the TLS ciphers a server offersLists every TLS protocol and cipher a server accepts and grades the weakest one from A to F.28 Nov 2026 - Tip
dig -b 192.168.1.20 @192.168.1.53 example.comdig -b picks which local address the query comes fromSends a dig query from a chosen local address instead of the default one.28 Nov 2026 - Tip
networksetup -listnetworkserviceorderPut Ethernet above Wi-Fi in your Mac's service orderDecides which connection your Mac tries first when Ethernet and Wi-Fi are both active.28 Nov 2026 - Tip
System Settings > Wi-Fi > Details > Private Wi-Fi addressChoose the private Wi-Fi address per network on your MacDecides per network whether your Mac shows a fixed, rotating or real Wi-Fi address.28 Nov 2026 - Tip
System Settings > Network > Wi-Fi > Details > TCP/IP > Renew DHCP LeaseRenew the DHCP lease on your Mac after a router changeAsks the DHCP server for a fresh address and settings without switching Wi-Fi off and on.28 Nov 2026 - Tip
System Settings > Wi-Fi > Known Networks > (…) > Auto-JoinStop your Mac from auto-joining a saved Wi-Fi networkKeeps a saved Wi-Fi network on your Mac but stops it from connecting by itself.28 Nov 2026 - Tip
Option-click the Wi-Fi icon > Open Wireless DiagnosticsOption-click the Wi-Fi icon to open Wireless DiagnosticsAnalyzes a flaky Wi-Fi connection on your Mac and saves a report for support.28 Nov 2026 - Tip
dns-sd -B _ssh._tcpdns-sd -B lists the Bonjour services on your networkShows which devices on your local network advertise SSH, file sharing or web pages.28 Nov 2026 - Tip
After=network-online.targetWants= plus After=network-online.target makes a service wait for a working networkMakes a service start only once the network is really up, not just started.27 Nov 2026 - Tip
ip -ts monitor label link address routeip monitor prints network changes the moment they happenStreams link, address and route changes live, so short network hiccups leave a trace.27 Nov 2026 - Tip
ip -s -s link show eth0ip -s link shows the errors and drops on a network interfaceShows per-interface error and drop counters so you can spot a bad cable or port.27 Nov 2026 - Tip
ss -tin dst 192.168.1.30ss -ti shows the round trip time of every open TCP connectionShows round trip time, MTU and congestion window for each TCP connection to a host.27 Nov 2026 - Tip
ignoreip = 127.0.0.1/8 ::1 192.168.1.0/24 100.64.0.0/10ignoreip in jail.local stops fail2ban from banning your own networkKeeps fail2ban from banning addresses on your own LAN or tailnet.27 Nov 2026 - Tip
Settings > Wi-Fi > (i) next to your network > PasswordYour iPhone can show the password of any Wi-Fi network it has joinedShows the password of the current or an earlier Wi-Fi network after Face ID.27 Nov 2026 - Tip
tailscale drive share docs /srv/docstailscale drive share turns a folder into a share your whole tailnet can openShares a folder over your tailnet as WebDAV, with access decided by your Tailscale policy file.27 Nov 2026 - Tip
--dns=8.8.8.8Send one container through a commercial VPN with VPN tunneled access for DockerRoute a single Docker container through your VPN provider using Unraid's built-in WireGuard.25 Nov 2026 - Tip
ping -M do -s 1472 -c 3 example.comping -M do -s 1472 finds the path MTU without fragmentationSends pings with the don't-fragment flag set, so you can find the largest packet that passes.25 Nov 2026 - Tip
netstat -ano | findstr :8080netstat -ano shows which process ID owns each open portLists connections and listening ports in numeric form with the owning process ID, then tasklist names it.25 Nov 2026 - Tip
tailscale wait && /path/to/servicetailscale wait blocks a script until Tailscale is readyPauses a script or service start until the Tailscale interface and its addresses are available.25 Nov 2026 - Tip
Test-NetConnection -ComputerName example.com -Port 443Test-NetConnection checks whether a TCP port answers, without telnetTests from PowerShell whether a remote TCP port accepts connections, and shows the ping result as well.24 Nov 2026 - Tip
nmap -sn 192.168.1.0/24nmap -sn lists every device on your network without scanning portsLists the devices that are online on a network without scanning their ports.19 Nov 2026 - Tip
nc -zv example.com 443nc -zv tells you whether a TCP port is openTests whether a TCP port accepts connections, without sending any data.19 Nov 2026 - Tip
tailscale ping my-nastailscale ping tells you if a device is reached directly or through a relayShows whether your connection to another Tailscale device is direct or goes through a relay, and how fast it is.18 Nov 2026 - Tip
curl -I https://example.comcurl -I shows the HTTP headers of a page without downloading itFetches only the response headers of a URL, to check redirects, status codes and caching.18 Nov 2026 - Tipss -tulpn shows which program is listening on which portShows which program is using which network port, useful when a port is already taken.16 Nov 2026
- Tip
dig +short example.com @192.168.1.3dig @server name tells you which DNS server is lying to you8 Nov 2026 - Tip
tailscale ping my-serverRun tailscale ping to see if your connection is direct or relayedTells you if a connection on your Tailscale network is direct or goes through a relay.8 Nov 2026 - Tip
tailscale exit-node list --filter=Netherlandstailscale exit-node list --filter finds exit nodes by countryLists the exit nodes available to you by country and suggests a recommended one.25 Sep 2026 - Tip
curl -sS -o /dev/null -w '%{http_code} %{time_total}s\n' https://example.comcurl -w prints the status code and timing and nothing elsePrints only the HTTP status code and response time of a URL.17 Sep 2026 - TipUse the Edge Agent when you cannot open a port to the remote machineLets Portainer manage a remote Docker host that cannot accept incoming connections.4 Sep 2026
- Tip
netplan statusnetplan status shows what the network actually looks like right nowPrints the live state of every network interface, with addresses, routes and DNS.19 Aug 2026 - Tip
tailscale funnel --bg 3000Funnel only listens on ports 443, 8443 and 10000Explains which three ports a public Tailscale Funnel can use and what you need to enable it.11 Jun 2026 - Tip
tailscale serve --bg localhost:3000Add --bg to tailscale serve so it survives a rebootShares a local web app with your tailnet over HTTPS and keeps it running after a reboot.5 Jun 2026 - Tip
ss -tn state established '( dport = :443 )'ss state established filters linux connections by state and portLists only the TCP connections in a chosen state that match a port, instead of every socket.27 May 2026 - Tip
network: {version: 2, ethernets: {enp3s0: {dhcp4: true, dhcp4-overrides: {use-dns: false}, nameservers: {addresses: [192.168.1.2]}}}}dhcp4-overrides lets netplan ignore the DNS servers a DHCP server sendsKeeps the DHCP address but replaces the DNS servers with your own.13 May 2026 - Tip
network: {version: 2, ethernets: {enp3s0: {}}, vlans: {vlan20: {id: 20, link: enp3s0, addresses: [10.20.0.5/24]}}}Netplan vlans need an id and a link to a parent interfaceAdds a tagged VLAN interface on top of a physical port in netplan.13 May 2026 - Tip
network: {version: 2, ethernets: {enp3s0: {}}, bridges: {br0: {interfaces: [enp3s0], dhcp4: true}}}Netplan bridges move the IP address from the NIC to the bridgeBuilds a bridge in netplan and gives the address to the bridge.13 May 2026 - Tip
network: {version: 2, ethernets: {enp3s0: {addresses: [192.168.1.20/24], routes: [{to: default, via: 192.168.1.1}], nameservers: {addresses: [192.168.1.1]}}}}A static IP in netplan sets the default route under routes instead of gateway4Sets a fixed address and default route the current way in netplan.12 May 2026 - Tip
dig +short TXT example.comdig TXT reads SPF, DKIM and DMARC records straight from DNSLooks up SPF, DKIM and DMARC settings, which are stored as TXT records.9 May 2026 - Tip
dig +tcp @192.168.1.1 example.comdig +tcp tests whether port 53 over TCP is openForces a DNS query over TCP to check that the firewall allows it.8 May 2026 - Tip
curl -sI --http2 -o /dev/null -w '%{http_version}\n' https://example.com/curl --http2 and --http1.1 show which protocol a server really speaksShows the negotiated HTTP version and lets you force an older one for comparison.7 May 2026 - Tip
curl --interface wg0 -s -o /dev/null -w '%{local_ip}\n' https://example.com/curl --interface sends a request out of a chosen network interfaceForces a request to leave through a specific interface or source address.7 May 2026
Shell56
- Tip
sudo lsof -nP -iTCP -sTCP:LISTENLsof -nP -iTCP -sTCP:LISTEN lists every service waiting for connectionsList every process that is listening on a TCP port.3 Dec 2026 - Tip
nmap -p 22,80,443 -oG scan.gnmap 192.0.2.0/24nmap -oG writes one line per host that grep can searchSaves scan results as one line per host, so grep and cut can pick out open ports.3 Dec 2026 - Tip
sudo iftop -n -P -i eth0Iftop -n -P shows which connections use your bandwidthShows live traffic per connection on an interface, with numeric hosts and ports.2 Dec 2026 - Tip
echo 'network: {config: disabled}' | sudo tee /etc/cloud/cloud.cfg.d/99-disable-network-config.cfgStop cloud-init from overwriting your netplan file with one small configHand network settings back to you on images where cloud-init manages them.1 Dec 2026 - Tip
sudo apt install vnstatVnstat keeps a traffic history for monitoring your monthly usageSee how much data a network interface moved per day or month.1 Dec 2026 - Tip
sudo apt install nethogsNethogs adds per program network monitoring to your toolboxFind which process is using the bandwidth right now.1 Dec 2026 - Tip
sudo nmap -sU -p 53,67,123,161 192.0.2.10Nmap -sU finds UDP services that a normal scan never seesScan the UDP side of a host, where DNS, NTP and similar services listen.1 Dec 2026 - Tip
sudo nmap --reason -p 22,443,5432 192.0.2.10The nmap reason column says why a port is open, closed or filteredSee which reply, or missing reply, led nmap to each port state.1 Dec 2026 - Tip
sudo nmap --script broadcast-dhcp-discoverNmap broadcast-dhcp-discover shows which DHCP server answersAsk the local network for a DHCP offer and see who replies.1 Dec 2026 - Tip
sudo systemctl enable --now wg-quick@wg0Systemctl enable wg-quick@wg0 brings a WireGuard tunnel up at bootStart a WireGuard interface automatically at boot with the unit that ships with wg-quick.1 Dec 2026 - Tip
systemctl list-socketssystemctl list-sockets shows which port starts which systemd serviceSee every socket systemd listens on and the service each one would start.30 Nov 2026 - Tip
sudo systemctl reload wg-quick@wg0Systemctl reload applies WireGuard peer changes without dropping the tunnelAdd or change a WireGuard peer without restarting the interface and cutting everyone off.30 Nov 2026 - Tip
grep IPV6 /etc/default/ufwCheck IPV6=yes in /etc/default/ufw, or your IPv6 ports stay unfiltered by ufwMakes sure ufw writes rules for IPv6 as well as IPv4.30 Nov 2026 - Tip
sudo tailscale login --login-server=https://headscale.example.comTailscale login with a login server connects the client to HeadscalePoint the regular Tailscale client at your own coordination server instead of Tailscale's.30 Nov 2026 - Tip
sudo ufw allow proto tcp from any to any port 80,443 comment 'web'Ufw allow proto tcp with port 80,443 opens several ports in one ruleCombines a list of ports and port ranges into a single firewall rule.30 Nov 2026 - Tip
sudo ufw deny out to 203.0.113.0/24Ufw deny out to an address stops the server from reaching one hostBlocks outgoing connections from the server to a chosen address or network.30 Nov 2026 - Tip
sudo wg show wg0Wg show latest-handshakes tells you if a WireGuard VPN peer is really connectedCheck when each WireGuard peer last completed a handshake to see if the tunnel works.30 Nov 2026 - Tip
sudo tailscale set --update-check=falseTailscale up complains about missing flags, tailscale set does notChange one Tailscale setting without restating every other flag you used before.30 Nov 2026 - Tip
ssh -4 [email protected]AddressFamily inet stops ssh from hanging on a broken IPv6 routeForce IPv4 for SSH when a host's IPv6 address resolves but does not work.30 Nov 2026 - Tip
tailscale completion zsh > "${fpath[1]}/_tailscale"tailscale completion adds tab completion for every Tailscale commandLet your shell complete Tailscale subcommands and flags instead of checking the help.30 Nov 2026 - Tip
sysctl -a 2>/dev/null | grep -E 'accept_redirects|send_redirects'Turn off ICMP redirects on a server, a sysctl security setting most hosts never needStops the server from changing its routes because of ICMP redirect messages.30 Nov 2026 - Tip
sudo tailscale set --snat-subnet-routes=falseTailscale subnet routers hide the real client address unless you turn off SNATKeep original source addresses visible in logs behind a Linux subnet router.30 Nov 2026 - Tip
sudo ufw allow 8080Ufw allow 53 without /tcp opens both TCP and UDPShows why adding the protocol to a port rule keeps the opening as small as needed.30 Nov 2026 - Tip
timeout 3 bash -c '</dev/tcp/192.168.1.x/443' && echo open || echo closedBash can test a TCP port through /dev/tcp without netcatChecks whether a TCP port accepts connections using only bash, no nc needed.28 Nov 2026 - Tip
sudo tcpdump -i any -n -c 500 -w /tmp/capture.pcap host 192.168.1.50 and port 443Tcpdump -w saves a capture you can open in Wireshark laterRecords packets to a file with a filter and a packet limit for later analysis.28 Nov 2026 - Tip
ssh -D 127.0.0.1:1080 [email protected]ssh -D 1080 turns an SSH connection into a SOCKS proxyStarts a local SOCKS proxy that sends your browser traffic through an SSH server.28 Nov 2026 - Tip
[email protected]:~$ ~CType ~C to add a port forward to a running SSH sessionOpens ssh's own command line in a live session so you can add or cancel port forwards.28 Nov 2026 - Tip
ipconfig getpacket en0ipconfig getpacket shows the DHCP answer your Mac gotPrints the address, router, DNS servers and lease time your Mac got from DHCP.28 Nov 2026 - Tip
nettop -P -d -t externalnettop -P shows which app on your Mac is using the networkLists every process with its live network traffic, one line per app.28 Nov 2026 - Tip
networksetup -listlocationsnetwork locations give your Mac a second set of network settingsSaves separate sets of network settings and switches between them in one step.28 Nov 2026 - Tip
scutil --nc listscutil --nc starts and stops a Mac VPN connection from the terminalConnects, checks and disconnects a macOS VPN service from Terminal or a script.28 Nov 2026 - Tip
sudo tmutil setdestination -a -p smb://[email protected]/timemachineTmutil setdestination -a -p adds a network share as a Time Machine disk from TerminalAdds an SMB share as a Time Machine backup disk with one Terminal command.28 Nov 2026 - Tip
sudo ufw reject 8080/tcpUfw reject answers right away, where deny lets the other side waitRefuses a connection with an immediate reply instead of silently dropping it.27 Nov 2026 - Tip
ServerAliveInterval 15ServerAliveInterval lets SSH notice a dead connectionMakes the SSH client check the server and drop a dead connection after about 45 seconds.27 Nov 2026 - Tip
sudo tailscale set --auto-updateTailscale set --auto-update keeps a device on the latest client by itselfMakes a Tailscale device install new client releases on its own, without you checking the admin console.27 Nov 2026 - Tip
sudo tailscale set --webclientTailscale set --webclient puts a device's Tailscale settings page on port 5252Opens a device's Tailscale settings in your browser from anywhere on your tailnet, without SSH.27 Nov 2026 - Tip
sudo arping -D -I eth0 -c 3 192.168.1.50Arping -D checks if an IP address is already takenChecks whether another device on your LAN already answers to an IP address.25 Nov 2026 - Tip
sudo ip addr add 192.0.2.10/24 dev eth0Ip addr add gives an interface a temporary extra addressAdds an extra IP address to an interface right away, and the address disappears again after a reboot.25 Nov 2026 - Tip
sudo nft list rulesetNft list ruleset shows the active nftables firewall rulesPrints every table, chain and rule that nftables currently has loaded in the kernel.25 Nov 2026 - Tip
ssh -f -N -o ExitOnForwardFailure=yes -M -S ~/.ssh/fwd.sock -L 8080:localhost:80 user@serverssh -f -N -L runs a port forward in the backgroundOpens a local port forward through SSH in the background, with a clean way to close it.25 Nov 2026 - Tip
sudo tailscale set --hostname=nasTailscale set --hostname renames a device without logging in againChanges the name a device uses on your tailnet, without rerunning tailscale up or the full settings.25 Nov 2026 - Tip
sudo ethtool eth0Ethtool eth0 shows the link speed and duplex of a network portShows the negotiated speed, duplex mode and link status of a network interface.24 Nov 2026 - Tip
systemd-socket-activate -l 2000 --inetd -a catsystemd-socket-activate tests socket activation without writing any unitsStarts a test listener that launches a program per connection, mimicking socket activation.24 Nov 2026 - Tip
ssh -J user@jumphost user@internal-serverssh -J reaches a server behind a jump host in one commandConnects to a server through a jump host in one step, without a manual hop.21 Nov 2026 - Tip
sudo tailscale set --advertise-routes=10.0.0.0/16,10.0.0.0/24Advertise the more specific route too when subnet routes overlapKeeps traffic flowing when the router with the more specific subnet route goes offline.14 Oct 2026 - Tip
sudo tailscale set --exit-node=100.101.102.103 --exit-node-allow-lan-access=trueKeep your printer reachable on an exit node with --exit-node-allow-lan-accessKeeps local network devices like printers reachable while the rest of your traffic uses an exit node.19 Sep 2026 - Tip
sudo ufw status numberedUfw status numbered lets you delete a rule by its numberRemoves a firewall rule by its number from the numbered status list.6 Sep 2026 - Tip
sudo netplan tryNetplan try rolls your network change back if you lose the connectionApplies a netplan change and automatically undoes it unless you confirm it in time.7 Aug 2026 - Tip
networksetup -listallnetworkservicesSet DNS servers per network service with networksetupChanges the DNS servers of a network connection from the terminal, and resets them.14 Jul 2026 - Tip
sudo tcpdump -ni any port 53 -c 20Tcpdump -ni any port 53 shows linux DNS traffic without WiresharkCaptures a few DNS packets from the command line and prints them.29 May 2026 - Tip
sudo ss -tulpnss -tulpn lists every listening port with its process, the first security auditLists open ports and the programs behind them, the starting point for an exposure review.22 May 2026 - Tip
sudo netplan set ethernets.enp3s0.dhcp4=falseNetplan set changes one YAML key from the command lineWrites one key to the netplan configuration without opening an editor.12 May 2026 - Tip
sudo netplan getNetplan get prints the merged configuration from all YAML filesShows the final merged netplan configuration, or a single part of it.12 May 2026 - Tip
sudo netplan generateNetplan generate checks your YAML without touching the networkParses the netplan YAML and reports errors without changing the network.12 May 2026 - Tip
sudo ufw reloadUfw before.rules is where you drop ping repliesEdits ufw's rule file to stop the host from answering pings.11 May 2026 - Tip
sudo ufw route allow in on wg0 out on eth0 to 192.168.1.0/24Ufw route allow controls traffic that passes through the hostWrites firewall rules for traffic that is forwarded between interfaces.11 May 2026
Docker22
- Tip
docker network create -d macvlan \A macvlan network puts a Docker container straight on your LANGive a container its own address and MAC on the physical network.30 Nov 2026 - Tip
docker run -d --name dns \Publish UDP ports on Docker with /udp, or DNS and game servers stay silentAdd /udp to a port mapping for services that speak UDP.30 Nov 2026 - Tip
docker network inspect $(docker network ls -q) \Jq on docker network inspect lists each container's addressSee which subnet a Docker network uses and which address each container got.30 Nov 2026 - Tip
sudo iptables -I DOCKER-USER -i eth0 ! -s 192.0.2.0/24 -j DROPThe DOCKER-USER chain is where your own firewall rules for Docker goRestrict who may reach published container ports with rules Docker will not overwrite.30 Nov 2026 - Tip
docker network create --subnet 192.0.2.0/24 lanGive a Docker container a fixed IP on a network with your own subnetPin a container's address when a firewall rule or old client needs a fixed IP.30 Nov 2026 - Tip
ip netns add test1ip netns gives you a separate network stack on Linux to test inRun a command with its own interfaces and routes, apart from the rest of the system.30 Nov 2026 - Tip
"default-address-pools": [default-address-pools stops Docker networks from clashing with your LANTell Docker which IP ranges it may use for new networks.30 Nov 2026 - Tip
docker run --rm --network host -p 8080:80 nginx:alpineDocker host networking ignores your port mappingsWith host networking the app's own port is the port, and -p does nothing.30 Nov 2026 - Tip
services:Docker compose port shows the host port of a servicePrints the host address and port a compose service publishes for a container port.28 Nov 2026 - TipHost access to custom networks in Unraid's Docker settingsA Docker setting in Unraid that decides whether the host and WireGuard clients can reach containers with custom IPs.28 Nov 2026
- Tip
Advanced view > Docker custom network type: ipvlanSet Unraid's Docker custom network type to ipvlan when macvlan causes call tracesStops macvlan call traces by moving Unraid's custom Docker networks to ipvlan.27 Nov 2026 - Tip
Public IP: 192.168.1.20Fill in Public IP on a Portainer environment so the port links go somewhere usefulMakes the published port links in Portainer open the real address of your Docker host.27 Nov 2026 - Tip
- "host.docker.internal=host-gateway"Host.docker.internal=host-gateway lets a container on Linux reach a service on the hostGives a container a fixed name for the Docker host, so it can reach services running there.27 Nov 2026 - Tip
docker run --rm -it --network container:sonarr nicolaka/netshootdocker run --network container: puts a debug toolbox inside another container's networkRuns a throwaway toolbox container that shares the network of a container you want to debug.27 Nov 2026 - Tip
docker network connect proxy-net appdocker network connect adds a running container to a second networkAttaches an existing container to another Docker network without recreating it.26 Nov 2026 - Tip
Container port: 8000 Host port: 8000Change the host port in an Unraid template, leave the container port aloneSolve a port clash between containers by changing only the host side of the mapping.25 Nov 2026 - TipMoving Unraid from cable to Wi-Fi means reconfiguring your containersPlan for reconfiguring containers before you switch your Unraid server between cable and Wi-Fi.25 Nov 2026
- Tip
docker network inspect bridgedocker network inspect shows which containers are on a networkPrints the subnet, gateway and attached containers of a Docker network, and --format picks out single fields.25 Nov 2026 - Tip
docker port mycontainerdocker port shows which host ports a container publishesPrints the host address and port mapped to each published port of a container.24 Nov 2026 - Tip
docker network create mynetContainers find each other by name on a custom Docker network, not on the default bridgeShows why a container name only works as a hostname on a user-defined Docker network.1 Nov 2026 - TipPreserve user defined networks keeps your own Docker networks when Docker restartsStops Unraid from removing the Docker networks you created yourself when the Docker service restarts.12 Aug 2026
- Tip
docker run -d -p 127.0.0.1:8080:80 nginxUfw does not filter Docker ports, so publish them on 127.0.0.1Explains why ufw misses published container ports and how to avoid it.11 May 2026
Other tips16
- Tip
nmap --packet-trace -p 22,80 192.0.2.10nmap --packet-trace prints every packet Nmap sends and receivesPrints a summary line for each packet Nmap sends or receives during a scan.3 Dec 2026 - Tip
- to: 192.168.3.0/24Netplan routing-policy sends replies out the interface they came in onWith two network cards on different subnets, source-based rules keep the replies on the right card.2 Dec 2026 - Tip
lacp-rate: fastLacp-rate: fast makes a netplan 802.3ad bond check its partner every secondOnly used in 802.3ad mode, lacp-rate chooses between a slow 30 second and a fast one second LACP interval.2 Dec 2026 - Tip
link-local: []Link-local: [] turns off link-local addresses in netplanWithout the key netplan enables only IPv6 link-local addresses, and an empty list switches both kinds off.2 Dec 2026 - Tip
| openssl s_client -connect example.com:443 -servername example.com -quiet -keylogfile keys.logOpenssl s_client -keylogfile lets Wireshark decrypt your own TLS testWrite the TLS session secrets to a file so a packet capture of that connection can be decrypted.30 Nov 2026 - Tip
ip link set dev eth0 mtu 1400ip link set mtu changes the MTU of a Linux interface for a quick testTry a smaller or larger MTU on one interface without editing any network config.30 Nov 2026 - Tip
ip route add 198.51.100.0/24 via 192.0.2.1ip route add sends one subnet through another gateway until the next rebootRoute a single network via a different router without touching your config files.30 Nov 2026 - Tip
precedence ::ffff:0:0/96 100One line in gai.conf makes Linux prefer IPv4 when IPv6 is brokenMake programs try the IPv4 address first when a host has both.30 Nov 2026 - Tip
ip -j addr show eth0 | jq -r '.[0].addr_info[] | select(.family=="inet") | .local'ip -j prints JSON, so jq can pull out an addressPrints network information as JSON so a script can read an address reliably.28 Nov 2026 - Tip
pathping /n example.compathping shows which hop on the route loses packetsMeasures packet loss at every router between your PC and a destination.28 Nov 2026 - Tip
ip route get 1.1.1.1ip route get shows which route and source address the kernel would useAsks the kernel which gateway, interface and source address it would pick for a destination, without sending anything.24 Nov 2026 - Tip
tracepath -n example.comtracepath traces the route and path MTU without needing rootTraces the route to a host like traceroute and reports the path MTU, as a normal user.24 Nov 2026 - Tip
Get-NetIPAddress -AddressFamily IPv4 | Format-Table InterfaceAlias, IPAddress, PrefixLengthGet-NetIPAddress lists the IP addresses of your Windows PC in a clean tableLists the IPv4 or IPv6 addresses configured on each network interface of a Windows PC.24 Nov 2026 - Tip
ip -br addressip -br address shows every interface and its IP on one linePrints one line per network interface with its state and IP addresses.21 Nov 2026 - Tip
ip -br aip -br a is the readable version of ip addrShows each network interface with its state and addresses on a single line.23 Sep 2026 - Tip
nmap -Pn -p- --open 192.168.1.10nmap -p- --open from another machine shows what your server exposes, a security auditScans all TCP ports of your own server from outside and lists only the open ones.22 May 2026
Media4
- Tip
ssh -o StreamLocalBindUnlink=yes -L /tmp/app.sock:/run/app.sock hostssh StreamLocalBindUnlink fixes a forwarded socket that is already thereLets ssh replace a leftover Unix socket file when forwarding to a socket again.3 Dec 2026 - Tip
[Jellyfin]Write your own ufw application profile in /etc/ufw/applications.dDefines a named profile for your own service so rules refer to a name.30 Nov 2026 - Tip
192.168.1.0/24, 10.0.0.0/8The Local Networks setting tells Jellyfin which addresses count as your LANExplains the Jellyfin Local Networks field and the CIDR format it expects.28 Nov 2026 - Tip
Base URL: /jellyfinSetting a Jellyfin base URL needs a restart and can break Sonarr and RadarrWarns that a Jellyfin base URL needs a restart and breaks some connected apps.28 Nov 2026
Mac4
- Tip
wakeonlan: trueWakeonlan: true in netplan, with the interface matched by MAC addressSwitches Wake on LAN on for an interface, which the docs say to match by MAC.2 Dec 2026 - Tip
dhcp-identifier: macNetplan dhcp-identifier: mac lets your DHCP reservation match the MACFix a reserved address that your router never hands to an Ubuntu server.1 Dec 2026 - Tip
ipconfig getifaddr en0ipconfig getifaddr en0 prints just your Mac's IP addressGet the local IP address of one interface as a single line, ready for scripts.30 Nov 2026 - Tip
route -n get defaultroute -n get default shows the gateway and interface your Mac usesFind out which router and which network interface carry your Mac's traffic.30 Nov 2026
Storage3
- Tip
mode: active-backupNetplan bonds with active-backup keep a server online when one cable failsCombine two ports so the second takes over when the first link drops.1 Dec 2026 - Tip
Match host nas localnetwork 192.0.2.0/24Match localnetwork picks SSH settings based on the network you are onUse a direct address at home and a jump host elsewhere, with one host name.30 Nov 2026 - Tip
ethtool -s eth0 wol gethtool -s eth0 wol g lets your Unraid server wake on a magic packetWake a sleeping Unraid server from another computer on your network.25 Nov 2026
Security3
- Tip
traceroute -T -p 443 -n example.comtraceroute -T follows the path with TCP packets where a firewall blocks the normal probesTrace the route to a web server with packets that a firewall lets through.30 Nov 2026 - Tip
openssl s_client -starttls smtp -connect mail.example.com:587 -servername mail.example.com -briefopenssl s_client -starttls smtp checks the certificate of a mail serverOpens a STARTTLS session to a mail server and shows the certificate and TLS details.28 Nov 2026 - Tip
/usr/libexec/ApplicationFirewall/socketfilterfw --getallowsignedStop the Mac firewall from waving through every signed appMakes new downloaded apps ask before the Mac firewall lets incoming connections in.28 Nov 2026
Python2
- Tip
from ipaddress import ip_address, ip_networkPython's ipaddress module checks if an IP is inside a subnetTest whether an address belongs to a network range without string tricks.30 Nov 2026 - Tip
python3 -m http.server 8000python3 -m http.server shares a folder over HTTP in one lineShares a folder over your network with one line of Python, no setup needed.16 Nov 2026
Phone1
Posts3
Nothing matches.