Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m7a/lp-internet-enable-disable
Scripts to open/close firewall for outgoing traffic (UFW)
https://github.com/m7a/lp-internet-enable-disable
Last synced: 12 days ago
JSON representation
Scripts to open/close firewall for outgoing traffic (UFW)
- Host: GitHub
- URL: https://github.com/m7a/lp-internet-enable-disable
- Owner: m7a
- Created: 2019-12-21T00:08:09.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2024-04-28T19:59:42.000Z (7 months ago)
- Last Synced: 2024-04-28T20:44:46.404Z (7 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
---
x-masysma-name: internet-enable-disable
section: 32
title: Internet enable/disable
author: ["Linux-Fan, Ma_Sys.ma ([email protected])"]
keywords: ["internet", "ufw", "gufw", "firewall", "enable", "disable"]
date: 2019/12/21 01:00:53
lang: en-US
x-masysma-repository: https://www.github.com/m7a/lp-internet-enable-disable
x-masysma-website: https://masysma.net/32/internet-enable-disable.xhtml
x-masysma-owned: 1
x-masysma-copyright: |
Copyright (c) 2019 Ma_Sys.ma.
For further info send an e-mail to [email protected].
---
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`