Problems occur when I block a specific user to access Internet using iptables while ufw is enable
===

I have enable ufw to reject some in going traffic, only allow port 80,22 to be opened.

And further more, today I need to block specific user to access Internet using iptables rule as follow:


    $ iptables -A OUTPUT -m owner --uid-owner winguse -j REJECT

But it doesn't work!

If I disable ufw, and perform the same action it does work. And if I enable ufw, it doesn't work again.

How could I do?