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
  Mobian image for the PinePhone Korfou 2 523 04-27-2026, 09:57 AM
Last Post: Korfou
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 80 55,954 12-24-2025, 12:11 AM
Last Post: Kevin Kofler
  cryptocurrency on mobian/pinephone biketool 35 66,815 10-08-2025, 06:21 AM
Last Post: biketool
  Mobian MMS/SMS text problem bcnaz 16 32,883 09-15-2025, 02:42 AM
Last Post: georgegohl888
  New Install, apps start but don't show up on screen?! RT3 2 2,548 07-18-2025, 07:56 PM
Last Post: Kevin Kofler
  XLibre for Mobian Hiraghm 0 2,649 06-29-2025, 12:38 PM
Last Post: Hiraghm
  Axolotl on PinePhone / Mobian arno_nuehm 223 312,786 06-25-2025, 01:19 PM
Last Post: anonymous
  VoIP account on mobian dialer j_s 0 2,394 06-15-2025, 04:19 PM
Last Post: j_s
  Mobian Pinephone Notification LED biketool 2 3,206 06-07-2025, 03:19 PM
Last Post: KC9UDX
  Vivaldi Web browser nearly native for Mobian biketool 3 3,820 05-06-2025, 02:19 AM
Last Post: biketool

Forum Jump:


Users browsing this thread: 1 Guest(s)