v1.0.0
This commit is contained in:
parent
15f86cafb4
commit
c3ce50d058
@ -7,7 +7,8 @@ Server proxy
|
|||||||
## Installation
|
## Installation
|
||||||
N/A
|
N/A
|
||||||
## Usage
|
## Usage
|
||||||
./stop-output-traffic-http-https.sh
|
sudo ./stop-output-traffic-http-https.sh
|
||||||
|
The script takes a few minutes to apply the rules
|
||||||
|
|
||||||
### Changelog
|
### Changelog
|
||||||
### [1.0.0] - 2025-09-17
|
### [1.0.0] - 2025-09-17
|
||||||
|
|||||||
@ -22,6 +22,11 @@ version="1.0.0"
|
|||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
|
# check if the effective user ID is 0 (root)
|
||||||
|
if [[ $EUID -ne 0 ]]; then
|
||||||
|
echo "This script must be run as root or with sudo."
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
# ---------------------- CONFIG ----------------------
|
# ---------------------- CONFIG ----------------------
|
||||||
PROXY_NAME="proxy.ville-geneve.ch"
|
PROXY_NAME="proxy.ville-geneve.ch"
|
||||||
PROXY_PORT="8080"
|
PROXY_PORT="8080"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user