#!/usr/sbin/nft -f flush ruleset table inet nat { chain prerouting { type nat hook prerouting priority 0; } chain postrouting { type nat hook postrouting priority 100; oifname "enp0s3" masquerade } }