Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #206347

Re: geoip and iptables

From lists <lists@merit.unu.edu>
Newsgroups linux.debian.user
Subject Re: geoip and iptables
Date 2019-03-19 09:20 +0100
Message-ID <xDi8x-4S1-1@gated-at.bofh.it> (permalink)
References <xDgT7-3W1-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

In the past, we achieved this following this page:

http://blog.jeshurun.ca/technology/block-countries-ubuntu-iptables-xtables-geoip

Perhaps it helps you too.

MJ

On 19-3-2019 7:54, john doe wrote:
> Hi,
> 
> I want to use geoip with iptables.
> 
> I have installed the package 'geoip-database-extra' and it allows me to
> use the 'geoiplookup' utility.
>  From what I understand, iptables requires the directory
> '/usr/share/xt_geoip' to be populated.
> 
> What debian package(s) do I need to install that is not 'non-free' 'or
> contrib' to get that directory populated
> 
> I can do it manually (1) but I would prefer a debian package.
> 
> In other words: how do I let iptables use the geoip database provided by
> debian.
> 
> Any help is welcome.
> 
> 1)  http://xtables-addons.sourceforge.net/geoip.php
> 
> 
> --
> John Doe
> 

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

geoip and iptables john doe <johndoe65534@mail.com> - 2019-03-19 08:00 +0100
  Re: geoip and iptables lists <lists@merit.unu.edu> - 2019-03-19 09:20 +0100
    Re: geoip and iptables john doe <johndoe65534@mail.com> - 2019-03-19 10:20 +0100

csiph-web