Files
Parth SarthiandgVisor bot c490b0f43c Nftables: Support NAT masquerade.
The masq op updates the packet's source IP address to the
  primary IP address of the router's outgoing interface.

- Added support masq op.
- Updated Dockerfile to include `nc` and `ip tools`.
- Fix setting reg in nft_nat.go as well.

PiperOrigin-RevId: 951260153
2026-07-20 22:57:43 -07:00

5 lines
197 B
Docker

FROM ubuntu:24.04
# Install the nftables package.
# It provides the 'nft' command-line utility for managing the nftables firewall.
RUN apt update && apt install -y nftables iproute2 netcat-openbsd