I cannot reproduce this. $ sudo ufw allow 22 $ sudo ufw enable $ sudo iptables-save && echo SUCCESS ... SUCCESS
I can see in the output: $ sudo iptables-save|grep ufw-user-output :ufw-user-output - [0:0] -A ufw-before-output -j ufw-user-output There seems to be something on your system that is removing the chain. ** Information type changed from Private Security to Public -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to ufw in Ubuntu. https://bugs.launchpad.net/bugs/1867647 Title: ufw neglects to define chain ufw-user-output Status in ufw package in Ubuntu: Incomplete Bug description: In both v. 1.6.0 and v. 1.6.1, ufw neglects to define the chain ufw- user-output, although it includes a jump target to that chain in a rule specified in ufw-before-output. One can observe this from the output of iptables-save. This may be related to the behavior described in https://askubuntu.com/questions/1006834/ufw-rules-disappear-after- manually-adding-them-to-user-rules-ubuntu-16-04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ufw/+bug/1867647/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp