Changing iptables stuff from bash to python.