Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Multiple Alias Permits / Region / Country

    Scheduled Pinned Locked Moved pfBlockerNG
    3 Posts 2 Posters 733 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cukalC
      cukal
      last edited by

      I'm using pfBlockerNG / GeoIP Europe, I selected 1 country, configured an Alias Permit and use that for a specific ip:port combination. Works perfectly.

      Now I have another ip:port combination that needs another country.

      If I update the GeoIP Europe Alias Permit list and select the 2nd country the result is that the first ip:port combination is now also available for the 2nd country because it's just one Alias Permit list.

      Is there a way to split this up?

      Thanks!

      1 Reply Last reply Reply Quote 0
      • cukalC
        cukal
        last edited by

        I think I've found a way using the IPv4 tab and defining a specific list from /usr/local/share/GeoIP/cc/*

        Could someone point me to some info what the rep files are?

        Thanks!

        NogBadTheBadN 1 Reply Last reply Reply Quote 0
        • NogBadTheBadN
          NogBadTheBad @cukal
          last edited by NogBadTheBad

          @cukal

          re the rep files https://dev.maxmind.com/geoip/whats-new-in-geoip2

          "Finally, we also include a represented_country key for some records. This is used when the IP address belongs to something like a military base. The represented_country is the country that the base represents. This can be useful for managing content licensing, among other uses."

          You do know you can use pfBlocker to create aliases using GeoIP country codes, under Firewall -> pfBlockerNG -> IP -> IPv4.

          Allow SSH/SFTP access to a host in my DMZ from the UK & Ireland only.

          Screenshot 2022-04-12 at 18.56.25.png

          Screenshot 2022-04-12 at 18.56.00.png

          Andy

          1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

          1 Reply Last reply Reply Quote 1
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.