UFW How to set different rules for each profile?

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read how to get help
Post Reply
MenthaSuaveolens
Level 2
Level 2
Posts: 51
Joined: Wed Apr 25, 2012 3:43 pm
Location: Belgium

UFW How to set different rules for each profile?

Post by MenthaSuaveolens » Thu Dec 14, 2017 4:45 am

UFW has 3 profiles : home, office, public. I guess that using another profile implies other firewall-rules? I enabled ssh by means of the terminal-command

Code: Select all

sudo ufw allow ssh
. This is probably an overall rule, which is valid for all the profiles? I want to disable ssh only for the public-profile. How can this be done? Is there some kind of documentation available of what these profiles stand for?

deepakdeshp
Level 10
Level 10
Posts: 3313
Joined: Sun Aug 09, 2015 10:00 am

Re: UFW How to set different rules for each profile?

Post by deepakdeshp » Thu Dec 14, 2017 5:01 am

If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
I am using Mint 18.3 Cinnamon 64 bit with AMD processor . Memory 8GB

MenthaSuaveolens
Level 2
Level 2
Posts: 51
Joined: Wed Apr 25, 2012 3:43 pm
Location: Belgium

Re: UFW How to set different rules for each profile?

Post by MenthaSuaveolens » Thu Dec 14, 2017 5:16 am

Well, neither https://help.ubuntu.com/community/UFW nor https://help.ubuntu.com/community/Gufw is talking about the behaviour of these profiles.

Post Reply

Return to “Other networking topics”