Hasty Briefsbeta

Bilingual

Using the Internet without IPv4 connectivity

10 months ago
  • #IPv6
  • #Networking
  • #WireGuard
  • ISP broke IPv4 connectivity after a power cut, leaving only IPv6 working.
  • Used Linux, WireGuard, and Hetzner VPS to restore full internet access via IPv6.
  • Explained Network Address Translation (NAT) and Carrier Grade NAT (CG-NAT) issues.
  • IPv6 eliminates the need for NAT due to its vast address space.
  • Set up WireGuard tunnel between local machine and Hetzner VPS to route IPv4 traffic over IPv6.
  • Configured WireGuard for both NATed and direct IPv6 traffic.
  • Used network namespaces to run work VPN over WireGuard without interference.
  • Solved Docker connectivity issues within network namespaces using unshare tricks.
  • Debugged and fixed WireGuard MTU issues by setting a lower MTU value.
  • Highlighted the benefits of Linux's flexibility and Hetzner's VPS for such solutions.