🐧 Linux Networking Hub (test project, cooming soon)

I'm working on free educational resource for system administrators & network engineers
🎯 Good practical tutorials

📚 Core Topics

🌐 Routing & Switching

Static/dynamic routing, policy-based routing, multiple routing tables, and advanced routing protocols

🔥 Firewalls (iptables/nftables)

Packet filtering, NAT, port forwarding, connection tracking, and security hardening

📦 Network Namespaces

Container networking, veth pairs, bridges, cross-namespace communication, Docker networking

🛠️ Troubleshooting Tools

tcpdump, wireshark, ss, netstat, traceroute, mtr, ping, and advanced diagnostics

⚡ Traffic Control (tc)

Bandwidth limiting, QoS, packet scheduling, shaping, and policing strategies

🔐 VPN & Tunnels

WireGuard, OpenVPN, IPsec, GRE tunnels, VXLAN, and encrypted communication

💻 Practical Examples

# Linux router configuration with iptables
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
iptables -A FORWARD -i eth0 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT

# Network namespace with veth pair
ip netns add ns1
ip link add veth0 type veth peer name veth1
ip link set veth1 netns ns1
ip addr add 10.0.1.1/24 dev veth0
ip netns exec ns1 ip addr add 10.0.1.2/24 dev veth1
ip link set veth0 up
ip netns exec ns1 ip link set veth1 up

# Traffic shaping (limit bandwidth)
tc qdisc add dev eth0 root handle 1: htb default 30
tc class add dev eth0 parent 1: classid 1:1 htb rate 10mbit
tc class add dev eth0 parent 1:1 classid 1:10 htb rate 5mbit
tc qdisc add dev eth0 parent 1:10 handle 10: sfq perturb 10

📖 What You'll find here

  • ✓ Network interface configuration (ifconfig, ip, ethtool)
  • ✓ ARP, DNS, DHCP deep dive and debugging
  • ✓ Routing tables and policy routing (ip rule)
  • ✓ iptables chains: INPUT, OUTPUT, FORWARD
  • ✓ NAT with masquerading and port forwarding
  • ✓ Network namespaces from scratch
  • ✓ Bridge networking and virtual switches
  • ✓ Bonding and teaming for redundancy
  • ✓ VLAN tagging and trunk ports (802.1q)
  • ✓ WireGuard setup and optimization
  • ✓ Network performance tuning (sysctl)
  • ✓ Packet capture and analysis with tcpdump