How to Install and Uninstall iptables-persistent Package on Ubuntu 18.04 LTS (Bionic Beaver)

Last updated: November 07,2024

1. Install "iptables-persistent" package

Please follow the guidance below to install iptables-persistent on Ubuntu 18.04 LTS (Bionic Beaver)

$ sudo apt update $ sudo apt install iptables-persistent

2. Uninstall "iptables-persistent" package

Please follow the step by step instructions below to uninstall iptables-persistent on Ubuntu 18.04 LTS (Bionic Beaver):

$ sudo apt remove iptables-persistent $ sudo apt autoclean && sudo apt autoremove

3. Information about the iptables-persistent package on Ubuntu 18.04 LTS (Bionic Beaver)

Package: iptables-persistent
Architecture: all
Version: 1.0.4+nmu2ubuntu1.1
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Jonathan Wiltshire
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 43
Depends: netfilter-persistent (= 1.0.4+nmu2ubuntu1.1), iptables, debconf (>= 0.5) | debconf-2.0
Filename: pool/universe/i/iptables-persistent/iptables-persistent_1.0.4+nmu2ubuntu1.1_all.deb
Size: 6340
MD5sum: 87493fd42d42ff069a4d1326fe5f1827
SHA1: 0b536f0de2326fffad97edb82b11b33b8e5c354b
SHA256: 50b90d01ea948d0c4447cbb24cf448be648955d2f0872187f6c5c3ef3eaf15f0
SHA512: a75cec4a1b46c98b9cb736fbd6821f2edf27a9ef5403085f63387358207c79a3602e9a79ecaebb6ec48e6512cb9b7cd011ab0572894daa961763a2ed5f68c01e
Description: boot-time loader for netfilter rules, iptables plugin
Description-md5: 1cde2713365aeda7fa3bba00e9a06380

Package: iptables-persistent
Architecture: all
Version: 1.0.4+nmu2
Priority: optional
Section: universe/admin
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Jonathan Wiltshire
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 42
Depends: netfilter-persistent (= 1.0.4+nmu2), iptables, debconf (>= 0.5) | debconf-2.0
Filename: pool/universe/i/iptables-persistent/iptables-persistent_1.0.4+nmu2_all.deb
Size: 6526
MD5sum: 828a57c0143978827247a8648badafa6
SHA1: d4678ae5b137cc6dc945bd84eb4d2870915a6b5a
SHA256: b4a07f6df4613b9c8acee9825952136809ca020dabf9b465dffd796196d8747c
Description: boot-time loader for netfilter rules, iptables plugin
Description-md5: 1cde2713365aeda7fa3bba00e9a06380