Internet enable/disable


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.


Sudo-configuration which allows user linux-fan to run scripts internet_enable and internet_disable without password.
Run /usr/sbin/ufw default allow outgoing
Run /usr/sbin/ufw default reject outgoing
Shortcut for sudo internet_enable
Shortcut for sudo internet_disable 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 For further info send an e-mail to

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 <>.