Internet enable/disable

Description

Scripts to enable/disable internet access (outgoing access) by using the UFW firewall. Provides an example sudo configuration which allows user linux-fan to execute the scripts without passwords, giving the ability to temporarily enable/disable internet access to the user. It is thus clear that this package is intended only for client-side usage. .desktop-files are prvoided to facilitate adding the scrips as buttons in desktop environments.

Files

55-masysma-internet-enable-disable
Sudo-configuration which allows user linux-fan to run scripts internet_enable and internet_disable without password.
internet_enable
Run /usr/sbin/ufw default allow outgoing
internet_disable
Run /usr/sbin/ufw default reject outgoing
internet_enable.desktop
Shortcut for sudo internet_enable
internet_disable.desktop
Shortcut for sudo internet_disable

Ma_Sys.ma Website 5 (1.0.2) – no Flash, no JavaScript, no Webfont, no Copy Protection, no Mobile First. No bullshit. No GUI needed. Works with any browser.

Created: 2019/12/21 01:00:53 | Revised: 2022/09/18 21:18:08 | Tags: internet, ufw, gufw, firewall, enable, disable | SRC (Pandoc MD) | GPL

Copyright (c) 2019 Ma_Sys.ma. For further info send an e-mail to Ma_Sys.ma@web.de.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.