How To Install shorewall on Fedora 36

In this tutorial we learn how to install shorewall in Fedora 36. shorewall is An iptables front end for firewall configuration

Introduction

In this tutorial we learn how to install shorewall on Fedora 36.

What is shorewall

The Shoreline Firewall, more commonly known as “Shorewall”, is a Netfilter (iptables) based firewall that can be used on a dedicated firewall system, a multi-function gateway/ router/server or on a standalone GNU/Linux system.

We can use yum or dnf to install shorewall on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install shorewall.

Install shorewall on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install shorewall using dnf by running the following command:

sudo dnf -y install shorewall

Install shorewall on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install shorewall using yum by running the following command:

sudo yum -y install shorewall

How To Uninstall shorewall on Fedora 36

To uninstall only the shorewall package we can use the following command:

sudo dnf remove shorewall

shorewall Package Contents on Fedora 36

/etc/logrotate.d/shorewall
/etc/shorewall
/etc/shorewall/accounting
/etc/shorewall/actions
/etc/shorewall/arprules
/etc/shorewall/blrules
/etc/shorewall/clear
/etc/shorewall/conntrack
/etc/shorewall/ecn
/etc/shorewall/findgw
/etc/shorewall/hosts
/etc/shorewall/init
/etc/shorewall/initdone
/etc/shorewall/interfaces
/etc/shorewall/lib.private
/etc/shorewall/maclist
/etc/shorewall/mangle
/etc/shorewall/masq
/etc/shorewall/nat
/etc/shorewall/netmap
/etc/shorewall/params
/etc/shorewall/policy
/etc/shorewall/providers
/etc/shorewall/proxyarp
/etc/shorewall/refresh
/etc/shorewall/refreshed
/etc/shorewall/restored
/etc/shorewall/routes
/etc/shorewall/rtrules
/etc/shorewall/rules
/etc/shorewall/scfilter
/etc/shorewall/secmarks
/etc/shorewall/shorewall.conf
/etc/shorewall/snat
/etc/shorewall/start
/etc/shorewall/started
/etc/shorewall/stop
/etc/shorewall/stopped
/etc/shorewall/stoppedrules
/etc/shorewall/tcclasses
/etc/shorewall/tcclear
/etc/shorewall/tcdevices
/etc/shorewall/tcfilters
/etc/shorewall/tcinterfaces
/etc/shorewall/tcpri
/etc/shorewall/tunnels
/etc/shorewall/zones
/etc/sysconfig/shorewall
/usr/lib/systemd/system/shorewall.service
/usr/libexec/shorewall/compiler.pl
/usr/libexec/shorewall/getparams
/usr/sbin/shorewall
/usr/share/doc/shorewall
/usr/share/doc/shorewall/Samples
/usr/share/doc/shorewall/Samples/LICENSE
/usr/share/doc/shorewall/Samples/README.txt
/usr/share/doc/shorewall/Samples/Universal
/usr/share/doc/shorewall/Samples/Universal/interfaces
/usr/share/doc/shorewall/Samples/Universal/interfaces.annotated
/usr/share/doc/shorewall/Samples/Universal/params
/usr/share/doc/shorewall/Samples/Universal/params.annotated
/usr/share/doc/shorewall/Samples/Universal/policy
/usr/share/doc/shorewall/Samples/Universal/policy.annotated
/usr/share/doc/shorewall/Samples/Universal/rules
/usr/share/doc/shorewall/Samples/Universal/rules.annotated
/usr/share/doc/shorewall/Samples/Universal/shorewall.conf
/usr/share/doc/shorewall/Samples/Universal/shorewall.conf.annotated
/usr/share/doc/shorewall/Samples/Universal/zones
/usr/share/doc/shorewall/Samples/Universal/zones.annotated
/usr/share/doc/shorewall/Samples/one-interface
/usr/share/doc/shorewall/Samples/one-interface/README.txt
/usr/share/doc/shorewall/Samples/one-interface/interfaces
/usr/share/doc/shorewall/Samples/one-interface/interfaces.annotated
/usr/share/doc/shorewall/Samples/one-interface/params
/usr/share/doc/shorewall/Samples/one-interface/params.annotated
/usr/share/doc/shorewall/Samples/one-interface/policy
/usr/share/doc/shorewall/Samples/one-interface/policy.annotated
/usr/share/doc/shorewall/Samples/one-interface/rules
/usr/share/doc/shorewall/Samples/one-interface/rules.annotated
/usr/share/doc/shorewall/Samples/one-interface/shorewall.conf
/usr/share/doc/shorewall/Samples/one-interface/shorewall.conf.annotated
/usr/share/doc/shorewall/Samples/one-interface/zones
/usr/share/doc/shorewall/Samples/one-interface/zones.annotated
/usr/share/doc/shorewall/Samples/three-interfaces
/usr/share/doc/shorewall/Samples/three-interfaces/README.txt
/usr/share/doc/shorewall/Samples/three-interfaces/interfaces
/usr/share/doc/shorewall/Samples/three-interfaces/interfaces.annotated
/usr/share/doc/shorewall/Samples/three-interfaces/params
/usr/share/doc/shorewall/Samples/three-interfaces/params.annotated
/usr/share/doc/shorewall/Samples/three-interfaces/policy
/usr/share/doc/shorewall/Samples/three-interfaces/policy.annotated
/usr/share/doc/shorewall/Samples/three-interfaces/rules
/usr/share/doc/shorewall/Samples/three-interfaces/rules.annotated
/usr/share/doc/shorewall/Samples/three-interfaces/shorewall.conf
/usr/share/doc/shorewall/Samples/three-interfaces/shorewall.conf.annotated
/usr/share/doc/shorewall/Samples/three-interfaces/snat
/usr/share/doc/shorewall/Samples/three-interfaces/snat.annotated
/usr/share/doc/shorewall/Samples/three-interfaces/stoppedrules
/usr/share/doc/shorewall/Samples/three-interfaces/stoppedrules.annotated
/usr/share/doc/shorewall/Samples/three-interfaces/zones
/usr/share/doc/shorewall/Samples/three-interfaces/zones.annotated
/usr/share/doc/shorewall/Samples/two-interfaces
/usr/share/doc/shorewall/Samples/two-interfaces/README.txt
/usr/share/doc/shorewall/Samples/two-interfaces/interfaces
/usr/share/doc/shorewall/Samples/two-interfaces/interfaces.annotated
/usr/share/doc/shorewall/Samples/two-interfaces/params
/usr/share/doc/shorewall/Samples/two-interfaces/params.annotated
/usr/share/doc/shorewall/Samples/two-interfaces/policy
/usr/share/doc/shorewall/Samples/two-interfaces/policy.annotated
/usr/share/doc/shorewall/Samples/two-interfaces/rules
/usr/share/doc/shorewall/Samples/two-interfaces/rules.annotated
/usr/share/doc/shorewall/Samples/two-interfaces/shorewall.conf
/usr/share/doc/shorewall/Samples/two-interfaces/shorewall.conf.annotated
/usr/share/doc/shorewall/Samples/two-interfaces/snat
/usr/share/doc/shorewall/Samples/two-interfaces/snat.annotated
/usr/share/doc/shorewall/Samples/two-interfaces/stoppedrules
/usr/share/doc/shorewall/Samples/two-interfaces/stoppedrules.annotated
/usr/share/doc/shorewall/Samples/two-interfaces/zones
/usr/share/doc/shorewall/Samples/two-interfaces/zones.annotated
/usr/share/doc/shorewall/changelog.txt
/usr/share/doc/shorewall/releasenotes.txt
/usr/share/licenses/shorewall
/usr/share/licenses/shorewall/COPYING
/usr/share/man/man5/shorewall-accounting.5.gz
/usr/share/man/man5/shorewall-actions.5.gz
/usr/share/man/man5/shorewall-addresses.5.gz
/usr/share/man/man5/shorewall-arprules.5.gz
/usr/share/man/man5/shorewall-blrules.5.gz
/usr/share/man/man5/shorewall-conntrack.5.gz
/usr/share/man/man5/shorewall-ecn.5.gz
/usr/share/man/man5/shorewall-exclusion.5.gz
/usr/share/man/man5/shorewall-files.5.gz
/usr/share/man/man5/shorewall-hosts.5.gz
/usr/share/man/man5/shorewall-interfaces.5.gz
/usr/share/man/man5/shorewall-ipsets.5.gz
/usr/share/man/man5/shorewall-logging.5.gz
/usr/share/man/man5/shorewall-maclist.5.gz
/usr/share/man/man5/shorewall-mangle.5.gz
/usr/share/man/man5/shorewall-modules.5.gz
/usr/share/man/man5/shorewall-names.5.gz
/usr/share/man/man5/shorewall-nat.5.gz
/usr/share/man/man5/shorewall-nesting.5.gz
/usr/share/man/man5/shorewall-netmap.5.gz
/usr/share/man/man5/shorewall-params.5.gz
/usr/share/man/man5/shorewall-policy.5.gz
/usr/share/man/man5/shorewall-providers.5.gz
/usr/share/man/man5/shorewall-proxyarp.5.gz
/usr/share/man/man5/shorewall-proxyndp.5.gz
/usr/share/man/man5/shorewall-routes.5.gz
/usr/share/man/man5/shorewall-rtrules.5.gz
/usr/share/man/man5/shorewall-rules.5.gz
/usr/share/man/man5/shorewall-secmarks.5.gz
/usr/share/man/man5/shorewall-snat.5.gz
/usr/share/man/man5/shorewall-stoppedrules.5.gz
/usr/share/man/man5/shorewall-tcclasses.5.gz
/usr/share/man/man5/shorewall-tcdevices.5.gz
/usr/share/man/man5/shorewall-tcfilters.5.gz
/usr/share/man/man5/shorewall-tcinterfaces.5.gz
/usr/share/man/man5/shorewall-tcpri.5.gz
/usr/share/man/man5/shorewall-tunnels.5.gz
/usr/share/man/man5/shorewall-vardir.5.gz
/usr/share/man/man5/shorewall-zones.5.gz
/usr/share/man/man5/shorewall.conf.5.gz
/usr/share/man/man8/shorewall.8.gz
/usr/share/perl5/vendor_perl/Shorewall
/usr/share/perl5/vendor_perl/Shorewall/ARP.pm
/usr/share/perl5/vendor_perl/Shorewall/Accounting.pm
/usr/share/perl5/vendor_perl/Shorewall/Chains.pm
/usr/share/perl5/vendor_perl/Shorewall/Compiler.pm
/usr/share/perl5/vendor_perl/Shorewall/Config.pm
/usr/share/perl5/vendor_perl/Shorewall/IPAddrs.pm
/usr/share/perl5/vendor_perl/Shorewall/Misc.pm
/usr/share/perl5/vendor_perl/Shorewall/Nat.pm
/usr/share/perl5/vendor_perl/Shorewall/Proc.pm
/usr/share/perl5/vendor_perl/Shorewall/Providers.pm
/usr/share/perl5/vendor_perl/Shorewall/Proxyarp.pm
/usr/share/perl5/vendor_perl/Shorewall/Raw.pm
/usr/share/perl5/vendor_perl/Shorewall/Rules.pm
/usr/share/perl5/vendor_perl/Shorewall/Tc.pm
/usr/share/perl5/vendor_perl/Shorewall/Tunnels.pm
/usr/share/perl5/vendor_perl/Shorewall/Zones.pm
/usr/share/shorewall/action.A_REJECT
/usr/share/shorewall/action.A_REJECT!
/usr/share/shorewall/action.AllowICMPs
/usr/share/shorewall/action.AutoBL
/usr/share/shorewall/action.AutoBLL
/usr/share/shorewall/action.BLACKLIST
/usr/share/shorewall/action.Broadcast
/usr/share/shorewall/action.DNSAmp
/usr/share/shorewall/action.DropDNSrep
/usr/share/shorewall/action.DropSmurfs
/usr/share/shorewall/action.Established
/usr/share/shorewall/action.FIN
/usr/share/shorewall/action.GlusterFS
/usr/share/shorewall/action.IfEvent
/usr/share/shorewall/action.Invalid
/usr/share/shorewall/action.Limit
/usr/share/shorewall/action.Multicast
/usr/share/shorewall/action.New
/usr/share/shorewall/action.NotSyn
/usr/share/shorewall/action.RST
/usr/share/shorewall/action.Related
/usr/share/shorewall/action.ResetEvent
/usr/share/shorewall/action.SetEvent
/usr/share/shorewall/action.TCPFlags
/usr/share/shorewall/action.Untracked
/usr/share/shorewall/action.allowBcast
/usr/share/shorewall/action.allowInvalid
/usr/share/shorewall/action.allowMcast
/usr/share/shorewall/action.allowinUPnP
/usr/share/shorewall/action.dropBcast
/usr/share/shorewall/action.dropBcasts
/usr/share/shorewall/action.dropInvalid
/usr/share/shorewall/action.dropMcast
/usr/share/shorewall/action.dropNotSyn
/usr/share/shorewall/action.forwardUPnP
/usr/share/shorewall/action.mangletemplate
/usr/share/shorewall/action.rejNotSyn
/usr/share/shorewall/action.template
/usr/share/shorewall/actions.std
/usr/share/shorewall/configfiles
/usr/share/shorewall/configfiles/accounting
/usr/share/shorewall/configfiles/accounting.annotated
/usr/share/shorewall/configfiles/actions
/usr/share/shorewall/configfiles/actions.annotated
/usr/share/shorewall/configfiles/arprules
/usr/share/shorewall/configfiles/arprules.annotated
/usr/share/shorewall/configfiles/blrules
/usr/share/shorewall/configfiles/blrules.annotated
/usr/share/shorewall/configfiles/clear
/usr/share/shorewall/configfiles/conntrack
/usr/share/shorewall/configfiles/conntrack.annotated
/usr/share/shorewall/configfiles/ecn
/usr/share/shorewall/configfiles/ecn.annotated
/usr/share/shorewall/configfiles/findgw
/usr/share/shorewall/configfiles/hosts
/usr/share/shorewall/configfiles/hosts.annotated
/usr/share/shorewall/configfiles/init
/usr/share/shorewall/configfiles/initdone
/usr/share/shorewall/configfiles/interfaces
/usr/share/shorewall/configfiles/interfaces.annotated
/usr/share/shorewall/configfiles/isusable
/usr/share/shorewall/configfiles/lib.private
/usr/share/shorewall/configfiles/maclist
/usr/share/shorewall/configfiles/maclist.annotated
/usr/share/shorewall/configfiles/mangle
/usr/share/shorewall/configfiles/mangle.annotated
/usr/share/shorewall/configfiles/nat
/usr/share/shorewall/configfiles/nat.annotated
/usr/share/shorewall/configfiles/netmap
/usr/share/shorewall/configfiles/netmap.annotated
/usr/share/shorewall/configfiles/params
/usr/share/shorewall/configfiles/params.annotated
/usr/share/shorewall/configfiles/policy
/usr/share/shorewall/configfiles/policy.annotated
/usr/share/shorewall/configfiles/providers
/usr/share/shorewall/configfiles/providers.annotated
/usr/share/shorewall/configfiles/proxyarp
/usr/share/shorewall/configfiles/proxyarp.annotated
/usr/share/shorewall/configfiles/refresh
/usr/share/shorewall/configfiles/refreshed
/usr/share/shorewall/configfiles/restored
/usr/share/shorewall/configfiles/routes
/usr/share/shorewall/configfiles/routes.annotated
/usr/share/shorewall/configfiles/rtrules
/usr/share/shorewall/configfiles/rtrules.annotated
/usr/share/shorewall/configfiles/rules
/usr/share/shorewall/configfiles/rules.annotated
/usr/share/shorewall/configfiles/scfilter
/usr/share/shorewall/configfiles/secmarks
/usr/share/shorewall/configfiles/secmarks.annotated
/usr/share/shorewall/configfiles/shorewall.conf
/usr/share/shorewall/configfiles/shorewall.conf.annotated
/usr/share/shorewall/configfiles/snat
/usr/share/shorewall/configfiles/snat.annotated
/usr/share/shorewall/configfiles/start
/usr/share/shorewall/configfiles/started
/usr/share/shorewall/configfiles/stop
/usr/share/shorewall/configfiles/stopped
/usr/share/shorewall/configfiles/stoppedrules
/usr/share/shorewall/configfiles/stoppedrules.annotated
/usr/share/shorewall/configfiles/tcclasses
/usr/share/shorewall/configfiles/tcclasses.annotated
/usr/share/shorewall/configfiles/tcclear
/usr/share/shorewall/configfiles/tcdevices
/usr/share/shorewall/configfiles/tcdevices.annotated
/usr/share/shorewall/configfiles/tcfilters
/usr/share/shorewall/configfiles/tcfilters.annotated
/usr/share/shorewall/configfiles/tcinterfaces
/usr/share/shorewall/configfiles/tcinterfaces.annotated
/usr/share/shorewall/configfiles/tcpri
/usr/share/shorewall/configfiles/tcpri.annotated
/usr/share/shorewall/configfiles/tunnels
/usr/share/shorewall/configfiles/tunnels.annotated
/usr/share/shorewall/configfiles/zones
/usr/share/shorewall/configfiles/zones.annotated
/usr/share/shorewall/configpath
/usr/share/shorewall/deprecated
/usr/share/shorewall/helpers
/usr/share/shorewall/lib.cli-std
/usr/share/shorewall/lib.runtime
/usr/share/shorewall/macro.AMQP
/usr/share/shorewall/macro.A_AllowICMPs
/usr/share/shorewall/macro.A_DropDNSrep
/usr/share/shorewall/macro.A_DropUPnP
/usr/share/shorewall/macro.ActiveDir
/usr/share/shorewall/macro.Amanda
/usr/share/shorewall/macro.Apcupsd
/usr/share/shorewall/macro.Auth
/usr/share/shorewall/macro.BGP
/usr/share/shorewall/macro.BitTorrent
/usr/share/shorewall/macro.BitTorrent32
/usr/share/shorewall/macro.Bitcoin
/usr/share/shorewall/macro.BitcoinRPC
/usr/share/shorewall/macro.BitcoinRegtest
/usr/share/shorewall/macro.BitcoinTestnet
/usr/share/shorewall/macro.BitcoinTestnetRPC
/usr/share/shorewall/macro.BitcoinZMQ
/usr/share/shorewall/macro.CVS
/usr/share/shorewall/macro.Citrix
/usr/share/shorewall/macro.Cockpit
/usr/share/shorewall/macro.DAAP
/usr/share/shorewall/macro.DCC
/usr/share/shorewall/macro.DHCPfwd
/usr/share/shorewall/macro.DNS
/usr/share/shorewall/macro.Distcc
/usr/share/shorewall/macro.DropUPnP
/usr/share/shorewall/macro.Edonkey
/usr/share/shorewall/macro.FTP
/usr/share/shorewall/macro.Finger
/usr/share/shorewall/macro.FreeIPA
/usr/share/shorewall/macro.GNUnet
/usr/share/shorewall/macro.GRE
/usr/share/shorewall/macro.Git
/usr/share/shorewall/macro.Gnutella
/usr/share/shorewall/macro.Goto-Meeting
/usr/share/shorewall/macro.HKP
/usr/share/shorewall/macro.HTTP
/usr/share/shorewall/macro.HTTPS
/usr/share/shorewall/macro.ICPV2
/usr/share/shorewall/macro.ICQ
/usr/share/shorewall/macro.ILO
/usr/share/shorewall/macro.IMAP
/usr/share/shorewall/macro.IMAPS
/usr/share/shorewall/macro.IPFS-API
/usr/share/shorewall/macro.IPFS-gateway
/usr/share/shorewall/macro.IPFS-swarm
/usr/share/shorewall/macro.IPIP
/usr/share/shorewall/macro.IPMI
/usr/share/shorewall/macro.IPP
/usr/share/shorewall/macro.IPPbrd
/usr/share/shorewall/macro.IPPserver
/usr/share/shorewall/macro.IPsec
/usr/share/shorewall/macro.IPsecah
/usr/share/shorewall/macro.IPsecnat
/usr/share/shorewall/macro.IRC
/usr/share/shorewall/macro.JAP
/usr/share/shorewall/macro.Jabber
/usr/share/shorewall/macro.JabberPlain
/usr/share/shorewall/macro.JabberSecure
/usr/share/shorewall/macro.Jabberd
/usr/share/shorewall/macro.Jetdirect
/usr/share/shorewall/macro.Kerberos
/usr/share/shorewall/macro.Kpasswd
/usr/share/shorewall/macro.L2TP
/usr/share/shorewall/macro.LDAP
/usr/share/shorewall/macro.LDAPS
/usr/share/shorewall/macro.MSA
/usr/share/shorewall/macro.MSNP
/usr/share/shorewall/macro.MSSQL
/usr/share/shorewall/macro.Mail
/usr/share/shorewall/macro.MongoDB
/usr/share/shorewall/macro.Munin
/usr/share/shorewall/macro.MySQL
/usr/share/shorewall/macro.NFS
/usr/share/shorewall/macro.NNTP
/usr/share/shorewall/macro.NNTPS
/usr/share/shorewall/macro.NTP
/usr/share/shorewall/macro.NTPbi
/usr/share/shorewall/macro.NTPbrd
/usr/share/shorewall/macro.ONCRPC
/usr/share/shorewall/macro.OSPF
/usr/share/shorewall/macro.OpenVPN
/usr/share/shorewall/macro.PCA
/usr/share/shorewall/macro.POP3
/usr/share/shorewall/macro.POP3S
/usr/share/shorewall/macro.PPtP
/usr/share/shorewall/macro.Ping
/usr/share/shorewall/macro.PostgreSQL
/usr/share/shorewall/macro.Printer
/usr/share/shorewall/macro.Puppet
/usr/share/shorewall/macro.QUIC
/usr/share/shorewall/macro.RDP
/usr/share/shorewall/macro.RIPbi
/usr/share/shorewall/macro.RNDC
/usr/share/shorewall/macro.Razor
/usr/share/shorewall/macro.Rdate
/usr/share/shorewall/macro.Redis
/usr/share/shorewall/macro.RedisCluster
/usr/share/shorewall/macro.RedisSecure
/usr/share/shorewall/macro.RedisSentinel
/usr/share/shorewall/macro.Rfc1918
/usr/share/shorewall/macro.Rsync
/usr/share/shorewall/macro.Rwhois
/usr/share/shorewall/macro.SANE
/usr/share/shorewall/macro.SIP
/usr/share/shorewall/macro.SMB
/usr/share/shorewall/macro.SMBBI
/usr/share/shorewall/macro.SMBswat
/usr/share/shorewall/macro.SMTP
/usr/share/shorewall/macro.SMTPS
/usr/share/shorewall/macro.SNMP
/usr/share/shorewall/macro.SNMPtrap
/usr/share/shorewall/macro.SPAMD
/usr/share/shorewall/macro.SSDP
/usr/share/shorewall/macro.SSDPserver
/usr/share/shorewall/macro.SSH
/usr/share/shorewall/macro.SVN
/usr/share/shorewall/macro.Sieve
/usr/share/shorewall/macro.SixXS
/usr/share/shorewall/macro.Squid
/usr/share/shorewall/macro.Submission
/usr/share/shorewall/macro.Syslog
/usr/share/shorewall/macro.TFTP
/usr/share/shorewall/macro.Telnet
/usr/share/shorewall/macro.Telnets
/usr/share/shorewall/macro.Teredo
/usr/share/shorewall/macro.Time
/usr/share/shorewall/macro.Tinc
/usr/share/shorewall/macro.Tor
/usr/share/shorewall/macro.TorBrowserBundle
/usr/share/shorewall/macro.TorControl
/usr/share/shorewall/macro.TorDirectory
/usr/share/shorewall/macro.TorSocks
/usr/share/shorewall/macro.Trcrt
/usr/share/shorewall/macro.VNC
/usr/share/shorewall/macro.VNCL
/usr/share/shorewall/macro.VRRP
/usr/share/shorewall/macro.WUDO
/usr/share/shorewall/macro.Web
/usr/share/shorewall/macro.Webcache
/usr/share/shorewall/macro.Webmin
/usr/share/shorewall/macro.Whois
/usr/share/shorewall/macro.Xymon
/usr/share/shorewall/macro.Zabbix
/usr/share/shorewall/macro.mDNS
/usr/share/shorewall/macro.mDNSbi
/usr/share/shorewall/macro.template
/usr/share/shorewall/prog.footer
/usr/share/shorewall/version
/var/lib/shorewall

References

Summary

In this tutorial we learn how to install shorewall on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).