Page 1 of 1
Display gufw profiles in ufw
Posted: Wed Mar 20, 2024 1:15 pm
by MX_GRD
gufw has three profiles: Home, Office, Public
When using ufw in terminal, which profile is it accessing?
Is there a way to switch among the three; I checked: man ufw and ufw -h, did not see any information.
Re: Display gufw profiles in ufw
Posted: Wed Mar 20, 2024 1:43 pm
by FullScale4Me
I have never seen much about profile usage and administration.
Best documentation on GUFW
https://help.ubuntu.com/community/Gufw
Homepage:
https://costales.github.io/projects/gufw/
Re: Display gufw profiles in ufw [Solved]
Posted: Wed Mar 20, 2024 1:45 pm
by DukeComposed
MX_GRD wrote: Wed Mar 20, 2024 1:15 pm
gufw has three profiles: Home, Office, Public
When using ufw in terminal, which profile is it accessing?
Is there a way to switch among the three; I checked: man ufw and ufw -h, did not see any information.
Your firewall is just your firewall. It only has one state it can be in at any one time. That is, only one set of rules it runs. I think the concept of profiles in gufw is just a simple way of switching between multiple different presets, so you don't have to change a bunch of ufw rules by hand when you move between, say, wifi in your house and wifi at a coffeeshop.
Re: Display gufw profiles in ufw
Posted: Wed Mar 20, 2024 3:32 pm
by MX_GRD
Thanks @FullScale4Me , @DukeComposed
One set of rules containing allow and deny statements affecting Home, Office, and Public; that sounds reasonable.
Thanks again.