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

    APNIC doesn't give CIDR format? doh

    Firewalling
    3
    3
    1.3k
    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.
    • J
      Javik
      last edited by

      So I've been busily firewalling off entire networks found to be remotely probing RDP, SSH, Radmin, SQL, etc that I see appearing in the logs, mainly just to drop them so I can see other more important things that may be blocked in the logs.

      Unfortunately some of the big global registries don't report ranges in CIDR format.

      http://www.apnic.net/

      Whois Search: 183.60.159.20

      The range is "183.0.0.0 - 183.63.255.255"

      What CIDR is that, and how do I figure that out?

      Is there an easy calculator somewhere where I can just drop in the start and end addresses, and it spits out the netmask?

      .

      1 Reply Last reply Reply Quote 0
      • M
        mr_bobo
        last edited by

        Country IP Blocks is what I use with pfBlocker:

        IP Address assigned to: CHINA

        IP Address: 183.60.159.20 is located within the following Network:

        Network: 183.0.0.0
        CIDR: 183.0.0.0/10
        Mask: 183.0.0.0/255.192.0.0
        Network Range: 183.0.0.0 - 183.63.255.255
        Total addresses: 4,194,304

        1 Reply Last reply Reply Quote 0
        • jimpJ
          jimp Rebel Alliance Developer Netgate
          last edited by

          You can enter an IP range into the alias field for a network alias and it will calculate the appropriate CIDR format address.

          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

          Need help fast? Netgate Global Support!

          Do not Chat/PM for help!

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