OPNsense Forum

English Forums => General Discussion => Topic started by: kevinbaker on December 14, 2022, 05:06:26 PM

Title: Allow by Country vice Block by Country
Post by: kevinbaker on December 14, 2022, 05:06:26 PM
I'm new to Opnsense (coming from Untangle).  I've got my MaxMind stuff setup. 

I create my Alias Type (GeoIP) and select US only, then in the Firewall Rule make it an Allow Rule.  Would this rule allow IP's only from the US (blocking all others)?
Title: Re: Allow by Country vice Block by Country
Post by: Patrick M. Hausen on December 14, 2022, 08:11:53 PM
That depends on the rules that follow. Rules are processed in order and by default OPNsense comes with a rule allowing everything from LAN out to the Internet.
Title: Re: Allow by Country vice Block by Country
Post by: kevinbaker on December 14, 2022, 08:26:52 PM
Thanks for the help and insight.
Title: Re: Allow by Country vice Block by Country
Post by: yourfriendarmando on December 17, 2022, 09:32:49 AM
A simple block all/remaining after, should do it.