geoip-filter

command module
v0.0.0-...-6bafae8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2020 License: MIT Imports: 7 Imported by: 0

README

Geoip-filter

Program to filter incoming SSH connections based on originating country.

Inspired by ssh-geoip-filter.

How to use

In /etc/hosts.allow add

sshd: ALL: aclexec <path to geoip-filter binary> %a

and in /etc/hosts.deny add

sshd: ALL 

In geoip-filter.toml, remember to add your accepted country and/or ip into the whitelist.

It will allow all local ip connections to prevent being completely locked out.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL