Skip to content

A sample Rack app to restrict website from middleware by ip or country

Notifications You must be signed in to change notification settings

tauhidul35/ip_country_restriction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

IP or Country restriction:

A sample Rack app to restrict website from middleware by ip or country

Dependency:

This Rack app is dependent with geoip gem. So, install geoip gem before start server.

gem install geoip

Start server

Run server using following command

rake firewall.rb

After start server visit http://localhost:8080 from your browser.

About

A sample Rack app to restrict website from middleware by ip or country

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages