UFW (uncomplicated firewall) Start On Boot - Mobian (working)
(02-28-2021, 05:42 PM)spaetz Wrote:
(02-28-2021, 01:15 AM)theD0cto Wrote: Should be active on startup without having to manually enable it. This fix worked for me, hopefully it works for others - for anyone that also wants to use the ufw

Could you clarify what "fix" you actually have? (besides adapting the systemd unit to start the firewall potentially a little earlier). I installed ufw with "sudo apt install ufw" enabled it with "sudo ufw enable" and it simply gets run on start. So what was the issue before?

"sudo ufw enable" just enables the firewall to be active when you call it. It does not apply to automatically enabling the firewall on system reboot/startup. The ufw.conf was suppose to address this by editing the file to enable it on startup. systemctl enable adds the service to startup, but does not activate the firewall. 

This is meant for:

- Adding ufw services to startup and automatically activating the firewall on system reboot so you do not have to "sudo ufw enable" through terminal anytime you had to reboot your phone.

If you google - ufw does not automatically start up on system reboot, you will see numerous instances of it not automatically starting even after editing the ufw.conf and adding it to startup services via systemctl.

So if you restart your phone, and it displays active after you enter "sudo ufw status"(without entering enable), cool, if not, and you want it to startup automatically and be active whenever you reboot your phone then this applies to you.

Messages In This Thread
RE: UFW (uncomplicated firewall) Start On Boot - Mobian (working) - by theD0ctor - 02-28-2021, 09:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Why do you use mobian? unrealb2 17 735 09-18-2021, 03:44 AM
Last Post: TRS-80
  Axolotl on PinePhone / Mobian arno_nuehm 116 33,135 09-17-2021, 02:36 AM
Last Post: arno_nuehm
  Mobian September 13 Nightly bcnaz 1 197 09-14-2021, 03:50 PM
Last Post: bcnaz
  Updating old Mobian installation? SocialNetworkingWasAMistake 1 115 09-14-2021, 03:41 PM
Last Post: bcnaz
  Installing Mobian --> "Resizing file system" forever Anna 13 2,885 09-09-2021, 04:26 AM
Last Post: spaetz
  p-boot images Flin 1 152 09-05-2021, 12:58 PM
Last Post: Flin
  I'd like to have a Discord client on Mobian lsitongia 2 176 09-03-2021, 06:56 PM
Last Post: ryo
  Mobian September 01, 2021 bcnaz 2 327 09-01-2021, 11:45 AM
Last Post: bcnaz
  Axolotl not working? ragreenburg 11 230 08-31-2021, 09:34 AM
Last Post: Anna
  Mobian 'HotSpot" bcnaz 2 390 08-29-2021, 07:34 AM
Last Post: bcnaz

Forum Jump:

Users browsing this thread: 1 Guest(s)