wiki:geoblock_country_bash_script
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
wiki:geoblock_country_bash_script [2021/01/11 13:10] – add firewall tag antisa | wiki:geoblock_country_bash_script [2021/07/15 13:35] (current) – add setup shorewall antisa | ||
---|---|---|---|
Line 3: | Line 3: | ||
====== 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.1610370634.txt.gz · Last modified: 2021/01/11 13:10 by antisa