Is this going to work? 
It was reported on 2011 and last comment on 2015.
It is 2018 and still after restarting ufw rules are added multiple time.
Just add this:
/etc/ufw/after_up
/etc/ufw/after_down
/etc/ufw/before_up
/etc/ufw/before_down

User can manualy add rules to *_up executed when ufw starts and add
rules to be deleted to *_down when ufw is shutting down.

-- 
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

Reply via email to