*filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -P FORWARD ACCEPT COMMIT *nat :PREROUTING ACCEPT [0:0] :INPUT ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :POSTROUTING ACCEPT [0:0] # Kreia is a client; Leibniz and Ferma are servers; port 1337 ; IP 5.7.1.42. -A PREROUTING -i enp0s3 -p udp -d 5.7.1.42 -s 5.7.1.2 -j DNAT --to-destination 5.7.1.5 -A POSTROUTING -o enp0s3 -p udp -d 5.7.1.2 -s 5.7.1.5 -j SNAT --to-source 5.7.1.42 -A POSTROUTING -o enp0s3 -p udp -d 5.7.1.2 -s 5.7.1.4 -j SNAT --to-source 5.7.1.42 COMMIT *mangle :PREROUTING ACCEPT [0:0] :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] :POSTROUTING ACCEPT [0:0] -A PREROUTING -i enp0s3 -p udp -s 5.7.1.2 -d 5.7.1.42 -j TEE --gateway 5.7.1.4 COMMIT