It doesn't bypass anything. UFW doesn't do what it promises. It claims to be a firewall but only manages a few specific chains.