User Tools

Site Tools


geoip_iptables_blocking

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
geoip_iptables_blocking [2016/12/27 10:52] admingeoip_iptables_blocking [2019/05/08 19:37] 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 55: Line 57:
  
 Samesame for raspian on raspberry  Samesame for raspian on raspberry 
 +
 +Install linux kernel headers
 +
 +<code>
 +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://raw.githubusercontent.com/notro/rpi-source/master/rpi-source -O /usr/bin/rpi-source && sudo chmod +x /usr/bin/rpi-source && /usr/bin/rpi-source -q --tag-update
 +
 +cd ~
 +rpi-source
 +</code>
 +
 +Install xtables-addons
  
 <code> <code>
Line 61: Line 76:
 ./autogen.sh ./autogen.sh
 ./configure ./configure
-make+make -j5
 make install make install
 depmod depmod
 +reboot
 +
 cat /proc/net/ip_tables_matches cat /proc/net/ip_tables_matches
  
geoip_iptables_blocking.txt · Last modified: 2019/05/08 19:38 by admin