Until ufw handles forwarding from the command line, it would be nice to have already a configuration file disable.rules to allow you to add the iptable rules that would fully clean up what was added in before.rules or after.rules. At the moment there is no such mechanism available and we have to start fiddling with for instance init script to build in the functionality there and to work around this bug (yes I agree with the original poster).
I lost hours and almost panicked because some faulty nat rules just remained there and weren't deactivated by ufw disable, which is what you would expect. This knowledge b.t.w. is also missing in all the tutorials I saw about forwarding. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/881137 Title: UFW does not clean iptables setting from /etc/ufw/before.rules To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ufw/+bug/881137/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
