mirror of
https://github.com/buildplan/du_setup.git
synced 2025-12-29 16:14:59 +00:00
Add Tailscale range example.
This commit is contained in:
@@ -87,12 +87,12 @@ sha256sum du_setup.sh
|
|||||||
|
|
||||||
Compare the output hash to the one below. They must match exactly.
|
Compare the output hash to the one below. They must match exactly.
|
||||||
|
|
||||||
`2ADF74FB455EE3BC49463BA7BE4C1A1417D6C546066E5CF2A2A06DC7FABD17FD`
|
`AE1100E1AF42E7EA2F7CBEC959930C8AB8FE2B87F488CBCD83713FBCADFF06DD`
|
||||||
|
|
||||||
Or echo the hash to check, it should output: `du_setup.sh: OK`
|
Or echo the hash to check, it should output: `du_setup.sh: OK`
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
echo 2ADF74FB455EE3BC49463BA7BE4C1A1417D6C546066E5CF2A2A06DC7FABD17FD du_setup.sh | sha256sum --check
|
echo AE1100E1AF42E7EA2F7CBEC959930C8AB8FE2B87F488CBCD83713FBCADFF06DD du_setup.sh | sha256sum --check
|
||||||
```
|
```
|
||||||
|
|
||||||
### 3. Run the Script
|
### 3. Run the Script
|
||||||
|
|||||||
@@ -3683,6 +3683,7 @@ configure_fail2ban() {
|
|||||||
printf ' %-24s %s\n' "Single IP:" "192.168.1.100"
|
printf ' %-24s %s\n' "Single IP:" "192.168.1.100"
|
||||||
printf ' %-24s %s\n' "CIDR Range:" "10.0.0.0/8"
|
printf ' %-24s %s\n' "CIDR Range:" "10.0.0.0/8"
|
||||||
printf ' %-24s %s\n' "IPv6 Address:" "2606:4700::1111"
|
printf ' %-24s %s\n' "IPv6 Address:" "2606:4700::1111"
|
||||||
|
printf ' %-24s %s\n' "Tailscale Range:" "100.64.0.0/10"
|
||||||
read -ra WHITELIST_IPS -p " > "
|
read -ra WHITELIST_IPS -p " > "
|
||||||
if (( ${#WHITELIST_IPS[@]} == 0 )); then
|
if (( ${#WHITELIST_IPS[@]} == 0 )); then
|
||||||
print_info "No IP addresses entered. Skipping."
|
print_info "No IP addresses entered. Skipping."
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
2ADF74FB455EE3BC49463BA7BE4C1A1417D6C546066E5CF2A2A06DC7FABD17FD du_setup.sh
|
AE1100E1AF42E7EA2F7CBEC959930C8AB8FE2B87F488CBCD83713FBCADFF06DD du_setup.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user