Access control using Fail2Ban and geoip: Difference between revisions

From munkjensen.net/wiki
(Created page with "Category:Debian === Geolookup === In order to do a geolookup from the command line, we have to get the GeoIP binary and database installed. <code>apt-get install geoip-b...")
 
No edit summary
Line 10: Line 10:
should give you  
should give you  
<code>GeoIP Country Edition: US, United States</code>
<code>GeoIP Country Edition: US, United States</code>
=== OVERSKRIFT ===
* Bullet.
- Note.
- Note.
<blockquote>
<div class="toccolours mw-collapsible mw-collapsed">
Dette er synligt hele tiden ############
<div class="mw-collapsible-content">
<syntaxhighlight lang="xml" line>START TEKST HER ###########
SLUT TEKST HER##########
</syntaxhighlight>
</div>
</div>
</blockquote>

Revision as of 13:12, 26 May 2017

Geolookup

In order to do a geolookup from the command line, we have to get the GeoIP binary and database installed.

apt-get install geoip-bin geoip-database

Test it: geoiplookup 8.8.8.8 should give you GeoIP Country Edition: US, United States