New

The latest blog posts to take off on Hacker News. 6,299 posts.

Any topic
2023
1915

How does Linux NAT a ping?

A few months ago, I found myself wondering how a command like ping 1.1.1.1 works from within a private network. In most private networks, multiple hosts connect to the Internet through a router. For IPv4, the router performs network address translation (NAT) by rewriting the original host’s source address to the…