#!/bin/bash
iptables -t nat -D PREROUTING -s $1 -p tcp -m tcp --dport 64738 -j DNAT --to-destination 172.9.0.101:64738
iptables -t nat -D PREROUTING -s $1 -p udp -m udp --dport 64738 -j DNAT --to-destination 172.9.0.101:64738
iptables -t nat -D POSTROUTING -s $1 ! -o docker0 -j MASQUERADE

#iptables -t nat -I PREROUTING 1 -s $1 -p tcp -m tcp --dport 64738 -j DNAT --to-destination 172.9.0.101:64738
#iptables -t nat -I PREROUTING 2 -s $1 -p udp -m udp --dport 64738 -j DNAT --to-destination 172.9.0.101:64738
#iptables -t nat -A POSTROUTING -s $1 ! -o docker0 -j MASQUERADE
