I got the same problem, and managed so solve it like this: [SOLVED] NFQUEUE bypassing UFW rules - #3 by luzyork