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

    Country block doesnt work for me anymore since 2.0 release

    Scheduled Pinned Locked Moved pfSense Packages
    17 Posts 3 Posters 3.9k 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.
    • T
      tommyboy180
      last edited by

      That looks normal to me. Are you sure you can get it working?

      -Tom Schaefer
      SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

      Please support pfBlocker | File Browser | Strikeback

      1 Reply Last reply Reply Quote 0
      • K
        killervette
        last edited by

        This is in my log

        Oct 1 21:34:35 root: Countryblock was found not running

        1 Reply Last reply Reply Quote 0
        • T
          tommyboy180
          last edited by

          That doesn't mean that you can't get countryblock running. Can you get it running in your GUI? screenshot?

          -Tom Schaefer
          SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

          Please support pfBlocker | File Browser | Strikeback

          1 Reply Last reply Reply Quote 0
          • K
            killervette
            last edited by

            OK, gui says its running.  I tested some proxies and i think i am good now.  thanks for all the help.  Now if I can get ip-blocklist i will be set

            1 Reply Last reply Reply Quote 0
            • T
              tommyboy180
              last edited by

              What changed from when it was not working to working???

              -Tom Schaefer
              SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

              Please support pfBlocker | File Browser | Strikeback

              1 Reply Last reply Reply Quote 0
              • H
                hytek
                last edited by

                To get rid of the error rm: /tmp/rules.debug.tmp: No such file or directory,

                Edit /usr/local/www/packages/countryblock/execute.sh

                Find the lines

                rm /tmp/rules.debug.tmp
                

                Replace With

                if [ -f /tmp/rules.debug.tmp ]
                        then
                        rm /tmp/rules.debug.tmp
                fi
                
                

                Still looking to see why the error log is showing that countryblock is not running when pfctl shows that it is…

                1 Reply Last reply Reply Quote 0
                • H
                  hytek
                  last edited by

                  @hytek:

                  Still looking to see why the error log is showing that countryblock is not running when pfctl shows that it is…

                  Just tested some sites:
                  www.visitkorea.or.kr
                  211.178.9.106

                  www.chinadaily.com.cn
                  209.177.94.85

                  For testing China and Korea are enabled in CountryBlock, but I can still get to them. Something isn't working right even with pfctl listing it is. I have reloaded CountryBlock, and have tried it on a fresh system.

                  PFSense 2.0 i386

                  1 Reply Last reply Reply Quote 0
                  • T
                    tommyboy180
                    last edited by

                    Are you sure those IPs are in the country list that you have checked? Even if those IPs are in a country they could belong to another list.

                    I know countryblock works great on 2.0 but we have another package coming out for pfsense 2.0 called pfblocker. This will replace countryblock on 2.0. The new package will be released sometime in the near future.

                    -Tom Schaefer
                    SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                    Please support pfBlocker | File Browser | Strikeback

                    1 Reply Last reply Reply Quote 0
                    • H
                      hytek
                      last edited by

                      Should CountryBlock block pings to an IP that is guranteed to be on the list? Those two were examples that I thought might be on the list, but I have a few IP's that are physically in the countries I am blocking.

                      Since time is relative, what kind of estimate do you give for "near future?"  ;D

                      1 Reply Last reply Reply Quote 0
                      • T
                        tommyboy180
                        last edited by

                        It will block all traffic.
                        pfblocker 1.4 is only BETA but is fully functional and is available now.

                        -Tom Schaefer
                        SuperMicro 1U 2X Intel pro/1000 Dual Core Intel 2.2 Ghz - 2 Gig RAM

                        Please support pfBlocker | File Browser | Strikeback

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