# nftables: NAT for LAN (eth1) so clients use WAN (eth0) for internet. # Load with: nft -f /etc/nftables.d/nat-lan.conf # Or use the inline rules in setup-network-boot-on-lxc.sh (no separate file dependency). table ip nat { chain postrouting { type nat hook postrouting priority srcnat; policy accept; ip saddr 10.20.50.0/24 oifname "eth0" masquerade } }