Network
13 pagesOpen WebUI only for own network
Open WebUI defaults to 0.0.0.0:8080 and is ready for public traffic. To keep access inside your network only, a reverse proxy with subnet filtering is the recommended approach. This reduces attack surface and aligns with infoSec policies that …
Open WebUI defaults to 0.0.0.0:8080 and is ready for public traffic. To keep access inside your network only, a reverse proxy with subnet filtering is the recommended approach. This reduces attack surface and aligns with infoSec policies that …
ethtool: link and interface offload
Lead paragraph: When a network interface misbehaves—link flaps, high CPU, or checksum errors—ethtool is the first line of diagnosis. It exposes kernel offload settings, driver flags, and physical link state that ip link or ifconfig hide. This note …
Lead paragraph: When a network interface misbehaves—link flaps, high CPU, or checksum errors—ethtool is the first line of diagnosis. It exposes kernel offload settings, driver flags, and physical link state that ip link or ifconfig hide. This note …
nsenter: enter another process namespaces
nsenter from iproute2 is a lightweight utility for entering any namespace of a running process without stopping it. It’s the go-to tool when you need to inspect or modify a process’s PID, network, mount, or IPC environment from the host, especially …
nsenter from iproute2 is a lightweight utility for entering any namespace of a running process without stopping it. It’s the go-to tool when you need to inspect or modify a process’s PID, network, mount, or IPC environment from the host, especially …
iTables-nftables transition: migrating rules without downtime
Lead paragraph: Migrating from iptables-legacy to nftables in production doesn’t require service interruption when both engines run in parallel. This note outlines a disciplined, step-by-step approach to transfer rules, verify traffic flow, and …
Lead paragraph: Migrating from iptables-legacy to nftables in production doesn’t require service interruption when both engines run in parallel. This note outlines a disciplined, step-by-step approach to transfer rules, verify traffic flow, and …
ip route get: packet path
When traffic drops in production or you’re debugging routing policy, guessing which interface a packet will egress is a bad habit. The ip route get command answers in fractions of a second without scanning the full FIB. This note collects the most …
When traffic drops in production or you’re debugging routing policy, guessing which interface a packet will egress is a bad habit. The ip route get command answers in fractions of a second without scanning the full FIB. This note collects the most …
traceroute diagnostics ttl timeout
Here’s a thinking process: Analyze User Request: Write an English article parallel to the given Russian draft Topic: traceroute-diagnostics-ttl-timeout / “traceroute diagnostics ttl timeout” Role: Practicing Lead DevOps Format: Short paragraphs, …
Here’s a thinking process: Analyze User Request: Write an English article parallel to the given Russian draft Topic: traceroute-diagnostics-ttl-timeout / “traceroute diagnostics ttl timeout” Role: Practicing Lead DevOps Format: Short paragraphs, …
nslookup and drill: DNS resolution in terminal
The server won’t resolve a domain, but pings fly through. No familiar dig at hand — the BIOS is already loading a minimal busybox. Or on a host without bind-tools. nslookup and drill fill this gap: the first one is built into almost everything, the …
The server won’t resolve a domain, but pings fly through. No familiar dig at hand — the BIOS is already loading a minimal busybox. Or on a host without bind-tools. nslookup and drill fill this gap: the first one is built into almost everything, the …
ip: Network Setup and Diagnostics in CLI
When ifconfig returns nothing and configuring a route requires a separate command, that’s not a system bug. It’s iproute2 — the package that replaced net-tools in modern Linux distributions. The ip utility from iproute2 is the standard interface for …
When ifconfig returns nothing and configuring a route requires a separate command, that’s not a system bug. It’s iproute2 — the package that replaced net-tools in modern Linux distributions. The ip utility from iproute2 is the standard interface for …
ethtool: network interface diagnostics and tuning
Network issues hide well — interface is up, IP is assigned, iptables is quiet, yet packet loss or micro-freezes only surface under load. ethtool gives direct access to hardware state, driver behavior, and offload mechanisms that neither ip nor …
Network issues hide well — interface is up, IP is assigned, iptables is quiet, yet packet loss or micro-freezes only surface under load. ethtool gives direct access to hardware state, driver behavior, and offload mechanisms that neither ip nor …
tcpdump and tshark: Packet Capture in CLI
When debugging network issues in Linux infrastructure, ping and curl are not enough. Sometimes you need to see what is actually traveling over the wire. tcpdump is the standard tool for capturing packets from the CLI. tshark is its sibling from the …
When debugging network issues in Linux infrastructure, ping and curl are not enough. Sometimes you need to see what is actually traveling over the wire. tcpdump is the standard tool for capturing packets from the CLI. tshark is its sibling from the …
ss: socket statistics instead of deprecated netstat
When netstat hangs on a server with tens of thousands of connections, it’s time to switch to ss. Part of the iproute2 package, ss queries the kernel directly via netlink instead of parsing /proc/net/*. The result is instant output with minimal …
When netstat hangs on a server with tens of thousands of connections, it’s time to switch to ss. Part of the iproute2 package, ss queries the kernel directly via netlink instead of parsing /proc/net/*. The result is instant output with minimal …
ngrep: grep for Network Packets in Real Time
Ngrep applies grep-style pattern matching to network packets. When you need to see exactly what two services are exchanging over the wire and tcpdump drowns you in noise, ngrep isolates the payload content you care about. Installation Ngrep ships in …
Ngrep applies grep-style pattern matching to network packets. When you need to see exactly what two services are exchanging over the wire and tcpdump drowns you in noise, ngrep isolates the payload content you care about. Installation Ngrep ships in …
Squid: Internet Forwarding to Remote VM
Your VM in the cloud has no public IP or internet access is blocked via NAT, but the deployment needs wget/curl from inside. Squid on an intermediate host with a decent uplink solves this in ten minutes. Why This Is Needed I forward internet through …
Your VM in the cloud has no public IP or internet access is blocked via NAT, but the deployment needs wget/curl from inside. Squid on an intermediate host with a decent uplink solves this in ten minutes. Why This Is Needed I forward internet through …