Your commands show ufw is operating correctly, but you are using the wrong commands to add a rule and to check it worked. What I think you meant to do is:
$ sudo ufw reset $ sudo ufw enable $ sudo ufw allow OpenSSH Rule added Rule added (v6) $ sudo ufw status Status: active To Action From -- ------ ---- OpenSSH ALLOW Anywhere OpenSSH (v6) ALLOW Anywhere (v6) $ sudo ip6tables -L ufw6-user-input Chain ufw6-user-input (1 references) target prot opt source destination ACCEPT tcp anywhere anywhere tcp dpt:ssh /* 'dapp_OpenSSH' */ You can see the full iptables output with: $ sudo ufw show raw or: $ sudo ufw show user-rules ** Changed in: ufw (Ubuntu) Status: New => Invalid ** Changed in: ufw Status: New => Invalid -- ufw breaks ipv6 https://bugs.launchpad.net/bugs/633044 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs