wiki:geoblock_country_bash_script
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
wiki:geoblock_country_bash_script [2020/12/04 15:11] – created antisa | wiki:geoblock_country_bash_script [2021/07/15 13:35] (current) – add setup shorewall antisa | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{tag>[bash scripts networking]}} | + | {{tag> |
====== Geoblock country bash script ====== | ====== Geoblock country bash script ====== | ||
===== Install prerequisites ===== | ===== Install prerequisites ===== | ||
- | apt install ipset aggregate | + | apt install ipset aggregate |
+ | |||
+ | ===== Setup shorewall ===== | ||
+ | Simple interface tutorial https:// | ||
===== Install and start ipset script ===== | ===== Install and start ipset script ===== | ||
Line 55: | Line 58: | ||
cat <<EOF >/ | cat <<EOF >/ | ||
#!/bin/bash | #!/bin/bash | ||
+ | | ||
/ | / | ||
EOF | EOF |
wiki/geoblock_country_bash_script.1607094695.txt.gz · Last modified: 2020/12/04 15:11 by antisa