How To Install shorewall6 on CentOS 8
Introduction
In this tutorial we learn how to install shorewall6
on CentOS 8.
What is shorewall6
This package contains the files required for IPV6 functionality of the Shoreline Firewall (shorewall).
We can use yum
or dnf
to install shorewall6
on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install shorewall6.
Install shorewall6 on CentOS 8 Using dnf
Update yum database with dnf
using the following command.
sudo dnf makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install shorewall6
using dnf
by running the following command:
sudo dnf -y install shorewall6
Install shorewall6 on CentOS 8 Using yum
Update yum database with yum
using the following command.
sudo yum makecache --refresh
The output should look something like this:
CentOS Linux 8 - AppStream 43 kB/s | 4.3 kB 00:00
CentOS Linux 8 - BaseOS 65 kB/s | 3.9 kB 00:00
CentOS Linux 8 - ContinuousRelease 43 kB/s | 3.0 kB 00:00
CentOS Linux 8 - Extras 23 kB/s | 1.5 kB 00:00
CentOS Linux 8 - FastTrack 40 kB/s | 3.0 kB 00:00
CentOS Linux 8 - HighAvailability 36 kB/s | 3.9 kB 00:00
CentOS Linux 8 - Plus 24 kB/s | 1.5 kB 00:00
CentOS Linux 8 - PowerTools 50 kB/s | 4.3 kB 00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64 13 kB/s | 9.2 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 24 kB/s | 8.5 kB 00:00
Metadata cache created.
After updating yum database, We can install shorewall6
using yum
by running the following command:
sudo yum -y install shorewall6
How To Uninstall shorewall6 on CentOS 8
To uninstall only the shorewall6
package we can use the following command:
sudo dnf remove shorewall6
shorewall6 Package Contents on CentOS 8
/etc/logrotate.d/shorewall6
/etc/shorewall6
/etc/shorewall6/accounting
/etc/shorewall6/actions
/etc/shorewall6/blrules
/etc/shorewall6/clear
/etc/shorewall6/conntrack
/etc/shorewall6/findgw
/etc/shorewall6/hosts
/etc/shorewall6/init
/etc/shorewall6/interfaces
/etc/shorewall6/lib.private
/etc/shorewall6/maclist
/etc/shorewall6/mangle
/etc/shorewall6/nat
/etc/shorewall6/netmap
/etc/shorewall6/params
/etc/shorewall6/policy
/etc/shorewall6/providers
/etc/shorewall6/proxyndp
/etc/shorewall6/refresh
/etc/shorewall6/refreshed
/etc/shorewall6/restored
/etc/shorewall6/routes
/etc/shorewall6/rtrules
/etc/shorewall6/rules
/etc/shorewall6/scfilter
/etc/shorewall6/secmarks
/etc/shorewall6/shorewall6.conf
/etc/shorewall6/snat
/etc/shorewall6/start
/etc/shorewall6/started
/etc/shorewall6/stop
/etc/shorewall6/stopped
/etc/shorewall6/stoppedrules
/etc/shorewall6/tcclasses
/etc/shorewall6/tcclear
/etc/shorewall6/tcdevices
/etc/shorewall6/tcfilters
/etc/shorewall6/tcinterfaces
/etc/shorewall6/tcpri
/etc/shorewall6/tunnels
/etc/shorewall6/zones
/etc/sysconfig/shorewall6
/usr/lib/systemd/system/shorewall6.service
/usr/sbin/shorewall6
/usr/share/doc/shorewall6
/usr/share/doc/shorewall6/Samples6
/usr/share/doc/shorewall6/Samples6/LICENSE
/usr/share/doc/shorewall6/Samples6/README.txt
/usr/share/doc/shorewall6/Samples6/Universal
/usr/share/doc/shorewall6/Samples6/Universal/interfaces
/usr/share/doc/shorewall6/Samples6/Universal/interfaces.annotated
/usr/share/doc/shorewall6/Samples6/Universal/params
/usr/share/doc/shorewall6/Samples6/Universal/params.annotated
/usr/share/doc/shorewall6/Samples6/Universal/policy
/usr/share/doc/shorewall6/Samples6/Universal/policy.annotated
/usr/share/doc/shorewall6/Samples6/Universal/rules
/usr/share/doc/shorewall6/Samples6/Universal/rules.annotated
/usr/share/doc/shorewall6/Samples6/Universal/shorewall6.conf
/usr/share/doc/shorewall6/Samples6/Universal/shorewall6.conf.annotated
/usr/share/doc/shorewall6/Samples6/Universal/zones
/usr/share/doc/shorewall6/Samples6/Universal/zones.annotated
/usr/share/doc/shorewall6/Samples6/one-interface
/usr/share/doc/shorewall6/Samples6/one-interface/README.txt
/usr/share/doc/shorewall6/Samples6/one-interface/interfaces
/usr/share/doc/shorewall6/Samples6/one-interface/interfaces.annotated
/usr/share/doc/shorewall6/Samples6/one-interface/params
/usr/share/doc/shorewall6/Samples6/one-interface/params.annotated
/usr/share/doc/shorewall6/Samples6/one-interface/policy
/usr/share/doc/shorewall6/Samples6/one-interface/policy.annotated
/usr/share/doc/shorewall6/Samples6/one-interface/rules
/usr/share/doc/shorewall6/Samples6/one-interface/rules.annotated
/usr/share/doc/shorewall6/Samples6/one-interface/shorewall6.conf
/usr/share/doc/shorewall6/Samples6/one-interface/shorewall6.conf.annotated
/usr/share/doc/shorewall6/Samples6/one-interface/zones
/usr/share/doc/shorewall6/Samples6/one-interface/zones.annotated
/usr/share/doc/shorewall6/Samples6/three-interfaces
/usr/share/doc/shorewall6/Samples6/three-interfaces/README.txt
/usr/share/doc/shorewall6/Samples6/three-interfaces/interfaces
/usr/share/doc/shorewall6/Samples6/three-interfaces/interfaces.annotated
/usr/share/doc/shorewall6/Samples6/three-interfaces/params
/usr/share/doc/shorewall6/Samples6/three-interfaces/params.annotated
/usr/share/doc/shorewall6/Samples6/three-interfaces/policy
/usr/share/doc/shorewall6/Samples6/three-interfaces/policy.annotated
/usr/share/doc/shorewall6/Samples6/three-interfaces/rules
/usr/share/doc/shorewall6/Samples6/three-interfaces/rules.annotated
/usr/share/doc/shorewall6/Samples6/three-interfaces/shorewall6.conf
/usr/share/doc/shorewall6/Samples6/three-interfaces/shorewall6.conf.annotated
/usr/share/doc/shorewall6/Samples6/three-interfaces/stoppedrules
/usr/share/doc/shorewall6/Samples6/three-interfaces/stoppedrules.annotated
/usr/share/doc/shorewall6/Samples6/three-interfaces/zones
/usr/share/doc/shorewall6/Samples6/three-interfaces/zones.annotated
/usr/share/doc/shorewall6/Samples6/two-interfaces
/usr/share/doc/shorewall6/Samples6/two-interfaces/README.txt
/usr/share/doc/shorewall6/Samples6/two-interfaces/interfaces
/usr/share/doc/shorewall6/Samples6/two-interfaces/interfaces.annotated
/usr/share/doc/shorewall6/Samples6/two-interfaces/params
/usr/share/doc/shorewall6/Samples6/two-interfaces/params.annotated
/usr/share/doc/shorewall6/Samples6/two-interfaces/policy
/usr/share/doc/shorewall6/Samples6/two-interfaces/policy.annotated
/usr/share/doc/shorewall6/Samples6/two-interfaces/rules
/usr/share/doc/shorewall6/Samples6/two-interfaces/rules.annotated
/usr/share/doc/shorewall6/Samples6/two-interfaces/shorewall6.conf
/usr/share/doc/shorewall6/Samples6/two-interfaces/shorewall6.conf.annotated
/usr/share/doc/shorewall6/Samples6/two-interfaces/stoppedrules
/usr/share/doc/shorewall6/Samples6/two-interfaces/stoppedrules.annotated
/usr/share/doc/shorewall6/Samples6/two-interfaces/zones
/usr/share/doc/shorewall6/Samples6/two-interfaces/zones.annotated
/usr/share/doc/shorewall6/changelog.txt
/usr/share/doc/shorewall6/releasenotes.txt
/usr/share/licenses/shorewall6
/usr/share/licenses/shorewall6/COPYING
/usr/share/man/man5/shorewall6-accounting.5.gz
/usr/share/man/man5/shorewall6-actions.5.gz
/usr/share/man/man5/shorewall6-blacklist.5.gz
/usr/share/man/man5/shorewall6-blrules.5.gz
/usr/share/man/man5/shorewall6-conntrack.5.gz
/usr/share/man/man5/shorewall6-exclusion.5.gz
/usr/share/man/man5/shorewall6-hosts.5.gz
/usr/share/man/man5/shorewall6-interfaces.5.gz
/usr/share/man/man5/shorewall6-ipsets.5.gz
/usr/share/man/man5/shorewall6-maclist.5.gz
/usr/share/man/man5/shorewall6-mangle.5.gz
/usr/share/man/man5/shorewall6-masq.5.gz
/usr/share/man/man5/shorewall6-modules.5.gz
/usr/share/man/man5/shorewall6-nat.5.gz
/usr/share/man/man5/shorewall6-nesting.5.gz
/usr/share/man/man5/shorewall6-netmap.5.gz
/usr/share/man/man5/shorewall6-params.5.gz
/usr/share/man/man5/shorewall6-policy.5.gz
/usr/share/man/man5/shorewall6-providers.5.gz
/usr/share/man/man5/shorewall6-proxyndp.5.gz
/usr/share/man/man5/shorewall6-routes.5.gz
/usr/share/man/man5/shorewall6-routestopped.5.gz
/usr/share/man/man5/shorewall6-rtrules.5.gz
/usr/share/man/man5/shorewall6-rules.5.gz
/usr/share/man/man5/shorewall6-secmarks.5.gz
/usr/share/man/man5/shorewall6-snat.5.gz
/usr/share/man/man5/shorewall6-stoppedrules.5.gz
/usr/share/man/man5/shorewall6-tcclasses.5.gz
/usr/share/man/man5/shorewall6-tcdevices.5.gz
/usr/share/man/man5/shorewall6-tcfilters.5.gz
/usr/share/man/man5/shorewall6-tcinterfaces.5.gz
/usr/share/man/man5/shorewall6-tcpri.5.gz
/usr/share/man/man5/shorewall6-tcrules.5.gz
/usr/share/man/man5/shorewall6-tos.5.gz
/usr/share/man/man5/shorewall6-tunnels.5.gz
/usr/share/man/man5/shorewall6-vardir.5.gz
/usr/share/man/man5/shorewall6-zones.5.gz
/usr/share/man/man5/shorewall6.conf.5.gz
/usr/share/man/man8/shorewall6.8.gz
/usr/share/shorewall6
/usr/share/shorewall6/action.mangletemplate
/usr/share/shorewall6/action.template
/usr/share/shorewall6/actions.std
/usr/share/shorewall6/configfiles
/usr/share/shorewall6/configfiles/accounting
/usr/share/shorewall6/configfiles/accounting.annotated
/usr/share/shorewall6/configfiles/actions
/usr/share/shorewall6/configfiles/actions.annotated
/usr/share/shorewall6/configfiles/blrules
/usr/share/shorewall6/configfiles/blrules.annotated
/usr/share/shorewall6/configfiles/clear
/usr/share/shorewall6/configfiles/conntrack
/usr/share/shorewall6/configfiles/conntrack.annotated
/usr/share/shorewall6/configfiles/findgw
/usr/share/shorewall6/configfiles/hosts
/usr/share/shorewall6/configfiles/hosts.annotated
/usr/share/shorewall6/configfiles/init
/usr/share/shorewall6/configfiles/interfaces
/usr/share/shorewall6/configfiles/interfaces.annotated
/usr/share/shorewall6/configfiles/isusable
/usr/share/shorewall6/configfiles/lib.private
/usr/share/shorewall6/configfiles/maclist
/usr/share/shorewall6/configfiles/maclist.annotated
/usr/share/shorewall6/configfiles/mangle
/usr/share/shorewall6/configfiles/mangle.annotated
/usr/share/shorewall6/configfiles/nat
/usr/share/shorewall6/configfiles/nat.annotated
/usr/share/shorewall6/configfiles/netmap
/usr/share/shorewall6/configfiles/netmap.annotated
/usr/share/shorewall6/configfiles/params
/usr/share/shorewall6/configfiles/params.annotated
/usr/share/shorewall6/configfiles/policy
/usr/share/shorewall6/configfiles/policy.annotated
/usr/share/shorewall6/configfiles/providers
/usr/share/shorewall6/configfiles/providers.annotated
/usr/share/shorewall6/configfiles/proxyndp
/usr/share/shorewall6/configfiles/proxyndp.annotated
/usr/share/shorewall6/configfiles/refresh
/usr/share/shorewall6/configfiles/refreshed
/usr/share/shorewall6/configfiles/restored
/usr/share/shorewall6/configfiles/routes
/usr/share/shorewall6/configfiles/routes.annotated
/usr/share/shorewall6/configfiles/rtrules
/usr/share/shorewall6/configfiles/rtrules.annotated
/usr/share/shorewall6/configfiles/rules
/usr/share/shorewall6/configfiles/rules.annotated
/usr/share/shorewall6/configfiles/scfilter
/usr/share/shorewall6/configfiles/secmarks
/usr/share/shorewall6/configfiles/secmarks.annotated
/usr/share/shorewall6/configfiles/shorewall6.conf
/usr/share/shorewall6/configfiles/snat
/usr/share/shorewall6/configfiles/snat.annotated
/usr/share/shorewall6/configfiles/start
/usr/share/shorewall6/configfiles/started
/usr/share/shorewall6/configfiles/stop
/usr/share/shorewall6/configfiles/stopped
/usr/share/shorewall6/configfiles/stoppedrules
/usr/share/shorewall6/configfiles/stoppedrules.annotated
/usr/share/shorewall6/configfiles/tcclasses
/usr/share/shorewall6/configfiles/tcclasses.annotated
/usr/share/shorewall6/configfiles/tcclear
/usr/share/shorewall6/configfiles/tcdevices
/usr/share/shorewall6/configfiles/tcdevices.annotated
/usr/share/shorewall6/configfiles/tcfilters
/usr/share/shorewall6/configfiles/tcfilters.annotated
/usr/share/shorewall6/configfiles/tcinterfaces
/usr/share/shorewall6/configfiles/tcinterfaces.annotated
/usr/share/shorewall6/configfiles/tcpri
/usr/share/shorewall6/configfiles/tcpri.annotated
/usr/share/shorewall6/configfiles/tunnels
/usr/share/shorewall6/configfiles/tunnels.annotated
/usr/share/shorewall6/configfiles/zones
/usr/share/shorewall6/configfiles/zones.annotated
/usr/share/shorewall6/configpath
/usr/share/shorewall6/deprecated
/usr/share/shorewall6/functions
/usr/share/shorewall6/helpers
/usr/share/shorewall6/lib.base
/usr/share/shorewall6/macro.Ping
/usr/share/shorewall6/macro.Trcrt
/usr/share/shorewall6/macro.mDNS
/usr/share/shorewall6/macro.mDNSbi
/usr/share/shorewall6/modules
/usr/share/shorewall6/modules.essential
/usr/share/shorewall6/modules.extensions
/usr/share/shorewall6/modules.ipset
/usr/share/shorewall6/modules.tc
/usr/share/shorewall6/modules.xtables
/usr/share/shorewall6/version
/var/lib/shorewall6
References
Summary
In this tutorial we learn how to install shorewall6
on CentOS 8 using yum and dnf.