7.4. Troubleshooting ufw

This section provides troubleshooting information for the Configuring ufw for K3s phase of Running the LOCKSS Installer.

7.4.1. Allow traffic from and via ufw

If your system is running the ufw firewall, it is necessary to allow traffic from K3s' pod and service subnets 1 via ufw for K3s to work properly 2. If install-lockss detects this situation, you will see a warning message and the following prompt 3:

Allow traffic from and via ufw?

Enter Y to accept the proposed ufw configuration. If you bypass the proposed configuration, K3s may malfunction.

The firewalld configuration attempted by install-lockss is equivalent to 1:

ufw allow from to any

ufw allow from to any

ufw reload

7.4.2. Post-Installation Changes to ufw

If your system did not initially use ufw at the time K3s was installed, but later does (for example because ufw becomes enabled), run this command (which is relative to the LOCKSS Installer Directory) as a privileged user who can become root via sudo 4:

scripts/install-lockss --configure-ufw

This will run only the Configuring ufw for K3s phase of install-lockss.



By default, K3s' pod subnet is and service subnet is




See Configuring ufw for K3s.


See Running Commands as a Privileged User.