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

    Block china

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 2 Posters 2.4k 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.
    • M Offline
      mohman
      last edited by

      Hi, I have a quick question: How to block access from China to my webserver behind pfsense 1.2.2?
      This mainly because Baiduspider crawler fills my httpd-access logs.
      I need to block all access from range 220.181.. but how to put that to the firewall rule, without putting every single ip separately.

      btw. Can snort help me?

      –Mik@

      1 Reply Last reply Reply Quote 0
      • S Offline
        Supermule Banned
        last edited by

        Just make a block rule before any other rule on your WAN.

        My bid could be something like this…

        pfsense.jpg_thumb
        pfsense.jpg

        1 Reply Last reply Reply Quote 0
        • M Offline
          mohman
          last edited by

          Just what I'm looking for is that syntax for ip, that's 220.181.0.0/16. Where that /16 comes from?

          Thank you for that, let's see how it works…
          :)

          –Mik@

          1 Reply Last reply Reply Quote 0
          • S Offline
            Supermule Banned
            last edited by

            http://www.oav.net/mirrors/cidr.html

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