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

    Blocking traffic to some internal ip addresses

    Scheduled Pinned Locked Moved General pfSense Questions
    18 Posts 3 Posters 1.3k 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.
    • johnpozJ
      johnpoz LAYER 8 Global Moderator
      last edited by johnpoz

      ^ very true.. But even if you don't not like they would be going to any new sessions.. So while sure if they had session open to google when you blocked, they wouldn't be able to create new connection to cnn for example.

      BTW @conor are you running that many boxes on 2.4.2 code? Or are you just not able to update your sig?

      An intelligent man is sometimes forced to be drunk to spend time with his fools
      If you get confused: Listen to the Music Play
      Please don't Chat/PM me for help, unless mod related
      SG-4860 24.11 | Lab VMs 2.8, 24.11

      1 Reply Last reply Reply Quote 0
      • C
        conor
        last edited by

        @johnpoz said in Blocking traffic to some internal ip addresses:

        BTW @conor are you running that many boxes on 2.4.2 code?

        Haven't bothered to update the signature, running more than that now anyway.

        200+ pfSense installs - best firewall ever.

        1 Reply Last reply Reply Quote 1
        • johnpozJ
          johnpoz LAYER 8 Global Moderator
          last edited by

          I just gave you another rep point on this post, so your at 5 now and will be able to edit it ;)

          An intelligent man is sometimes forced to be drunk to spend time with his fools
          If you get confused: Listen to the Music Play
          Please don't Chat/PM me for help, unless mod related
          SG-4860 24.11 | Lab VMs 2.8, 24.11

          1 Reply Last reply Reply Quote 1
          • johnpozJ
            johnpoz LAYER 8 Global Moderator
            last edited by

            Here you go - for fun, took 2 minutes to setup..

            I created basic html page on one of my local boxes 192.168.3.32 running nginx (httpd)

            Then created a port forward, with source only my boxes IP 192.168.9.100 to send 80 traffic to 3.32..

            Made sure the rule on the network client connected to (lan in my case) was top of the list.. And there you go try to go to some http site and get the website instead..

            redirect.png

            Not going to work with https, because they would get error on cert not matching... But you could just block https..

            An intelligent man is sometimes forced to be drunk to spend time with his fools
            If you get confused: Listen to the Music Play
            Please don't Chat/PM me for help, unless mod related
            SG-4860 24.11 | Lab VMs 2.8, 24.11

            1 Reply Last reply Reply Quote 1
            • O
              OpenWifi
              last edited by

              Kindly explain where i should put this. Because it seems not to block the Ip addresses. Thank you

              1 Reply Last reply Reply Quote 0
              • O
                OpenWifi
                last edited by

                IMG_20190503_225851_037.jpg

                1 Reply Last reply Reply Quote 0
                • johnpozJ
                  johnpoz LAYER 8 Global Moderator
                  last edited by johnpoz

                  sure seems to be blocking show 1.17MB of hits on it already

                  Also your dns rule, should also allow tcp.. And should really be lan address, not the whole net.

                  And just to be curious - why do you block paying customers from using whatever dns they want?

                  An intelligent man is sometimes forced to be drunk to spend time with his fools
                  If you get confused: Listen to the Music Play
                  Please don't Chat/PM me for help, unless mod related
                  SG-4860 24.11 | Lab VMs 2.8, 24.11

                  O 1 Reply Last reply Reply Quote 0
                  • O
                    OpenWifi @johnpoz
                    last edited by

                    @johnpoz Thank you. Because i was getting blacklisted by my ISP every now and again

                    1 Reply Last reply Reply Quote 0
                    • johnpozJ
                      johnpoz LAYER 8 Global Moderator
                      last edited by

                      for dns queries? you got blacklisted?

                      An intelligent man is sometimes forced to be drunk to spend time with his fools
                      If you get confused: Listen to the Music Play
                      Please don't Chat/PM me for help, unless mod related
                      SG-4860 24.11 | Lab VMs 2.8, 24.11

                      O 1 Reply Last reply Reply Quote 0
                      • O
                        OpenWifi @johnpoz
                        last edited by

                        @johnpoz For spamming

                        1 Reply Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator
                          last edited by

                          spamming - ie sending emails is not dns queries.

                          An intelligent man is sometimes forced to be drunk to spend time with his fools
                          If you get confused: Listen to the Music Play
                          Please don't Chat/PM me for help, unless mod related
                          SG-4860 24.11 | Lab VMs 2.8, 24.11

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