firewall hot key

Post here if you are a new Porteus member and you're looking for some help.
EOH
White ninja
White ninja
Posts: 11
Joined: 26 Apr 2023, 14:49
Distribution: cinnamon

firewall hot key

Post#1 by EOH » 31 Mar 2024, 10:21

is there some kind of hot key or app that allows me to set firewall on/off without using the setting centre?

User avatar
ncmprhnsbl
DEV Team
DEV Team
Posts: 3951
Joined: 20 Mar 2012, 03:42
Distribution: v5.0-64bit
Location: australia
Contact:

firewall hot key

Post#2 by ncmprhnsbl » 01 Apr 2024, 02:08

EOH wrote:
31 Mar 2024, 10:21
is there some kind of hot key or app that allows me to set firewall on/off without using the setting centre?
not exactly, but you can make your own hotkey in cinnamon via System Settings>Hardware/Keyboard/Shortcuts/Add a custom shortcut
using you preffered keybinds with a command something like(to start it):

Code: Select all

psu sh /etc/rc.d/rc.FireWall start
this will prompt for a password
and another for stopping

Code: Select all

psu sh /etc/rc.d/rc.FireWall stop
a better solution might be to invoke the gui (outside of psc) instead:

Code: Select all

psu /opt/porteus-scripts/gtk-firewall
which would make it easier to keep track of on/off status..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44

User avatar
Ed_P
Contributor
Contributor
Posts: 8383
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

firewall hot key

Post#3 by Ed_P » 01 Apr 2024, 04:11

It sounds like a desktop file, or two, which put those options in the Porteus Menu, or on a user's desktop, might be a convenient approach.
Ed

EOH
White ninja
White ninja
Posts: 11
Joined: 26 Apr 2023, 14:49
Distribution: cinnamon

firewall hot key

Post#4 by EOH » 01 Apr 2024, 11:54

thanks for the reply ncmprhnsbl i learned something new about porteus with this post

Post Reply