Get the latest tech news

Grokking NAT and packet mangling in Linux


viveknathani - blog

If a host sends a packet with the same source IP address and port number to a different destination, a different NAT mapping is used. Router operating system projects like OpenWrt use linux under the hood, specifically the nftables module. Since NAT is about manipulating IP addresses and ports, it only makes sense to talk about it when TCP and UDP are involved.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Linux

Linux

Photo of nat

nat

Photo of Grokking NAT

Grokking NAT

Related news:

News photo

CISA warns of attackers exploiting Linux flaw with PoC exploit

News photo

Alienware "G-Mode" Reverted For Linux: It Actually Hurt Performance

News photo

New Linux udisks flaw lets attackers get root on major Linux distros