UFW (uncomplicated firewall) Start On Boot - Mobian (working)
#3
(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.
  Reply


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
  New Install, apps start but don't show up on screen?! RT3 2 112 07-18-2025, 07:56 PM
Last Post: Kevin Kofler
  boot gets stuck shortly after disk decryption vortex 10 7,962 07-16-2025, 10:50 AM
Last Post: demetemre
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 65 23,451 07-12-2025, 07:46 AM
Last Post: anonymous
  cryptocurrency on mobian/pinephone biketool 33 50,295 06-30-2025, 02:57 PM
Last Post: biketool
  XLibre for Mobian Hiraghm 1 265 06-30-2025, 01:38 AM
Last Post: Haroldkent
  Axolotl on PinePhone / Mobian arno_nuehm 223 243,728 06-25-2025, 01:19 PM
Last Post: anonymous
  VoIP account on mobian dialer j_s 0 178 06-15-2025, 04:19 PM
Last Post: j_s
  Mobian Pinephone Notification LED biketool 2 361 06-07-2025, 03:19 PM
Last Post: KC9UDX
  Vivaldi Web browser nearly native for Mobian biketool 3 738 05-06-2025, 02:19 AM
Last Post: biketool
  mobian calamares fail merom 2 809 04-29-2025, 02:10 PM
Last Post: mdk

Forum Jump:


Users browsing this thread: 1 Guest(s)