#!/bin/sh
#!/bin/bash


export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

if [ $(iptables -nvL  | grep -c NAT_TYPE_DETECTION) -eq 0 ];then
    iptables -I INPUT 1 -p udp -m multiport --dports 50000:53000 -m comment --comment "NAT_TYPE_DETECTION" -j ACCEPT
fi
