Public bug reported: libvirt and ufw have their own .rule files that they'll load on boot.
If you want to use iptables-persistent to restore rules you set using iptables, there will be duplicate entries once libvirt and ufw also load their rules on boot. Chain OUTPUT (policy ACCEPT 1780 packets, 323K bytes) pkts bytes target prot opt in out source destination 0 0 ACCEPT udp -- * virbr0 0.0.0.0/0 0.0.0.0/0 udp dpt:68 0 0 ACCEPT udp -- * virbr0 0.0.0.0/0 0.0.0.0/0 udp dpt:68 ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: iptables 1.4.21-2ubuntu2 Uname: Linux 4.1.1-040101-generic x86_64 ApportVersion: 2.17.2-0ubuntu1.1 Architecture: amd64 Date: Sun Jul 19 15:04:53 2015 EcryptfsInUse: Yes InstallationDate: Installed on 2015-06-18 (31 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422) ProcEnviron: LANGUAGE=en_US TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: iptables UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: iptables (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug vivid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to iptables in Ubuntu. https://bugs.launchpad.net/bugs/1476041 Title: iptables-save duplicates libvirt and ufw rules on iptables-restore with iptables-persistent Status in iptables package in Ubuntu: New Bug description: libvirt and ufw have their own .rule files that they'll load on boot. If you want to use iptables-persistent to restore rules you set using iptables, there will be duplicate entries once libvirt and ufw also load their rules on boot. Chain OUTPUT (policy ACCEPT 1780 packets, 323K bytes) pkts bytes target prot opt in out source destination 0 0 ACCEPT udp -- * virbr0 0.0.0.0/0 0.0.0.0/0 udp dpt:68 0 0 ACCEPT udp -- * virbr0 0.0.0.0/0 0.0.0.0/0 udp dpt:68 ProblemType: Bug DistroRelease: Ubuntu 15.04 Package: iptables 1.4.21-2ubuntu2 Uname: Linux 4.1.1-040101-generic x86_64 ApportVersion: 2.17.2-0ubuntu1.1 Architecture: amd64 Date: Sun Jul 19 15:04:53 2015 EcryptfsInUse: Yes InstallationDate: Installed on 2015-06-18 (31 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422) ProcEnviron: LANGUAGE=en_US TERM=xterm PATH=(custom, no user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: iptables UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/iptables/+bug/1476041/+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