def main():
    setup()
    if SINGLE_QUEUE:
        start(0)
    else:
        p = Pool(nfqueue_number)
        try:
            p.map_async(start, [x for x in range(nfqueue_number)]).get(999999999)
            p.close()
        except KeyboardInterrupt:
            p.terminate()
    print('Flushing iptables.')
    os.system('iptables -F')
    os.system('iptables -X')
def main():
    setup()
    if SINGLE_QUEUE:
        start(0)
    else:
        p = Pool(nfqueue_number)
        try:
            p.map_async(start, [x for x in range(nfqueue_number)]).get(999999999)
            p.close()
        except KeyboardInterrupt:
            p.terminate()
    print('Flushing iptables.')
    os.system('iptables -F')
    os.system('iptables -X')