*nat :PREROUTING ACCEPT [0:0] :INPUT ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :POSTROUTING ACCEPT [0:0] -A PREROUTING -d 5.7.1.4 -i lo -j DNAT --to-destination 5.1.7.4 -A POSTROUTING -s 5.1.7.4 -o enp0s3 -j SNAT --to-source 5.7.1.4 COMMIT *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -i lo -j ACCEPT -A FORWARD -i lo -o enp0s3 -j ACCEPT -A FORWARD -i enp0s3 -o lo -j ACCEPT -A OUTPUT -o lo -j ACCEPT COMMIT