geoip_iptables_blocking
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| geoip_iptables_blocking [2016/12/27 10:51] – admin | geoip_iptables_blocking [2019/05/08 19:38] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| =====GeoIP for use with iptables (Debian 8 Jessie)===== | =====GeoIP for use with iptables (Debian 8 Jessie)===== | ||
| + | // | ||
| + | __**OUTDATED. MAXMIND stuff has changed. needs rework.**__// | ||
| ===install necessary software=== | ===install necessary software=== | ||
| Line 56: | Line 58: | ||
| Samesame for raspian on raspberry | Samesame for raspian on raspberry | ||
| + | Install linux kernel headers | ||
| + | |||
| + | < | ||
| + | apt-get update && sudo apt-get install git bc libncurses5-dev libtext-csv-xs-perl autoconf automake libtool xutils-dev iptables-dev -y | ||
| + | |||
| + | wget https:// | ||
| + | |||
| + | cd ~ | ||
| + | rpi-source | ||
| + | </ | ||
| + | |||
| + | Install xtables-addons | ||
| + | |||
| + | < | ||
| git clone git:// | git clone git:// | ||
| cd xtables-addons | cd xtables-addons | ||
| ./ | ./ | ||
| ./configure | ./configure | ||
| - | make | + | make -j5 |
| make install | make install | ||
| depmod | depmod | ||
| + | reboot | ||
| + | |||
| cat / | cat / | ||
| Line 74: | Line 92: | ||
| tcp | tcp | ||
| icmp | icmp | ||
| + | </ | ||
geoip_iptables_blocking.1482835899.txt.gz · Last modified: by admin
