Networknet notebook
Command-line snippets
Commands worth keeping close. Each snippet explains the flags and when the command helps.
Snippet gallery 3-second rotation
Networking
5 snippetsTrace an HTTPS request through the OSI model with curl
How I use curl verbose output to separate DNS, TCP, TLS and HTTP stages while troubleshooting an HTTPS connection.
Calculate subnet boundaries locally with ipcalc
How I use ipcalc in the terminal to check IPv4 subnet boundaries and host ranges without submitting network details to an online calculator.
Hide 3 additional snippets
Check TCP/443 reachability with netcat
How I use netcat from Linux VMs or Kubernetes pods to check TCP connectivity and correlate the result with firewall events and packet captures.
Listen on TCP/443 with netcat
How I used a Linux netcat listener on TCP/443 to test remote connectivity and validate a ZTNA policy.
Discover your public egress IP
How I use curl over IPv4 and IPv6 to check the public address visible to a service through NAT, proxies or VPNs.