Fixed iptable rule config issue

fixed type and changed the order in iptable rule

Signed-off-by: Timothy Asir <tim.gluster@gmail.com>