#!/bin/bash # anonymous map can be added to a snat rule set -e $NFT add table nat $NFT add chain nat postrouting $NFT add rule nat postrouting snat ip saddr map {1.1.1.1 : 2.2.2.2}