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

    Incoming connections to pfsense box from Facebook?

    Scheduled Pinned Locked Moved Firewalling
    45 Posts 5 Posters 2.6k 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.
    • GertjanG
      Gertjan @rasputinthegreatest
      last edited by

      @rasputinthegreatest said in Incoming connections to pfsense box from Facebook?:

      I have snort setup on WAN

      You're lucky, you have a router front of your pfSense that is protecting it, so no illicit traffic can reach your pfSense. That is, I hope you've set it up like that.

      If your pfSense's WAN interface did have your 'real' WAN IP, and you get yourself 'dossed', then every incoming packet 'not requested for' (wasn't a reply from what was requested from your LAN(s), then it gets dropped very (extremely) qyicky by the firewall.
      With snort an WAN you said : I want every valid reply packet and also every illicit packet being scanned by snort. So, now every packet will cost you thousands of CPU cycles more.
      In case of an incoming dos your CPU will go in overdrive, and this can even take down the system.
      Exactly what the dosser wanted, and hew as counting on a bit of your help.

      Never ever scan (snort, suricata, etc) the WAN port, except if you have 'huge' resources.
      Its a wast of time, power, comfort etc etc.
      It's like installing that tictoc app so you can see if you can find pure BS ....

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

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

        @rasputinthegreatest there is no way some 34.x address is inbound into LAN interface as source.. Unless you were using that internally - of your have something forwarding traffic to your lan interface from some other connection..

        To your upload being jammed - I would for starters disable snort.. That can have performance impact.. Does your issue go away?

        internet -- wan pfsense lan -- your stuff

        How would some internet IP 34.x ever be source of traffic inbound into your lan? Or even outbound for that matter.

        How about you draw up how you have your stuff connected.. Because you must have your lan exposed to the public internet or connected is some odd way if you could ever see internet IPs inbound as source into your lan interface.. In a normal setup that would just be impossible.. Unless you were using 34.x something internally on your own networks.

        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

        R 1 Reply Last reply Reply Quote 0
        • R
          rasputinthegreatest @johnpoz
          last edited by rasputinthegreatest

          @johnpoz The whole reason I got the pfsense box was because of my upload issues. At the moment my setup looks like this
          diag.jpg
          my pfsense box is plugged into the 2.5gig port of my fritzbox
          fritzbox goes into WAN port on pfsense box and Lan port from pfsense box goes to a switch where my devices are connected behind.
          Where is the error in this setup? I followed Jim's garage setup.
          Here are the WAN settings
          wan.png
          And here LAN settings
          lan.png

          Anything I am missing? Regarding the IP 34.x.x.x I was showing "Remote" in the traffic graph. Should I not be able to see any public IPs in the traffic?
          trafficgra.jpg

          GertjanG johnpozJ 2 Replies Last reply Reply Quote 0
          • GertjanG
            Gertjan @rasputinthegreatest
            last edited by

            @rasputinthegreatest

            Why did you keep the Fritzbox ?

            No "help me" PM's please. Use the forum, the community will thank you.
            Edit : and where are the logs ??

            R 1 Reply Last reply Reply Quote 0
            • R
              rasputinthegreatest @Gertjan
              last edited by

              @Gertjan It is provided by the ISP and doesn't support bridge mode afaik. So I am forced to double-nat

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

                @rasputinthegreatest said in Incoming connections to pfsense box from Facebook?:

                pfsense box was because of my upload issues.

                So you had this issue before you put in pfsense.. Why would you think pfsense could magically fix something like that if you were having it before?

                From that drawing there is no possible way for pfsense to see some 34.x as source into the lan - just not possible.. Unless you have somehow created that traffic on your lan, or have some other connection into your lan that would send the traffic on to pfsense lan.

                You don't have any sort of bridge setup in pfsense do you?

                So your running 2.5ge on your internal network, and is this 2.5ge connection on pfsense interface on lan, and wan I assume is only gig?

                You can run into weirdness when you change speeds like that - there is currently a thread going on about 1ge, 2.5ge and 10ge with multiple connections not see full speed, etc.

                So for example your pc if connected to that switch at 2.5ge says oh I can send data at 2.5, but then the connection to pfsense is only 1, so you can run in to buffering issues on the switch. flow control should normally take care of such issues..

                To see if that could be possible contributing factor... I would set your interfaces to be the same across the board.. Pc to switch, switch to pfsense, etc.

                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

                R 1 Reply Last reply Reply Quote 0
                • R
                  rasputinthegreatest @johnpoz
                  last edited by rasputinthegreatest

                  @johnpoz I didn't think the pfsense would fix the issue with my upload speeds. It was rather a tool to investigate and see invidiual devices traffic since my Fritzbox doesn't allow that.
                  I don't have any bridge mode setup for sure. Under the Traffic Graph I had "LAN" and "Remote" enabled like in the screenshot above. And here it showed for example the external IP of my companies VPN server, Amazon connections and all sorts of public IPs.
                  If I am not supposed to see any of these things that is probably bad but I have no explanation for it. For now I removed the pfsense firewall and just went back to the Fritzbox only.
                  All interfaces are 2,5Gig throughout my network. Except my work computers NIC which is 1Gig. My personal computer is 2.5gig as well. The switch inbetween is a Trendnet 2.5Gig switch.
                  Can the issue be that my Fritzboxs network is 192.168.178.1. Then the WAN Port that goes into my pfsense box is assigned 192.168.178.42 through DHCP but the LAN Port hat goes into my switch is 192.168.1.1? I still don't see how anything could be exposed to the internet if my Fritzbox is still there in front?

                  @johnpoz said in Incoming connections to pfsense box from Facebook?:

                  To see if that could be possible contributing factor... I would set your interfaces to be the same across the board.. Pc to switch, switch to pfsense, etc.

                  Like I said this is already the case

                  EDIT: @johnpoz Do you see any error in my diagram or config? I haven't changed anything inside pfsense from the most basic setup that would cause to expose my network to the internet

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

                    @rasputinthegreatest ah didn't catch the remote in your traffic graph. That will show you the remote IP your talking too.. You would of started the conversation.

                    Dude your chasing red herrings if you think a few stray packets or connections you don't understand at a few B or KBytes per second is causing your internet upload to suck.,

                    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

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      rasputinthegreatest @johnpoz
                      last edited by

                      @johnpoz Ok so at least it was a misunderstanding then what we were looking at. The 34.x.x.x IP is Google CDN and shows up whenever I use Firefox apparently. Seems to be part of Firefox from what I can tell here https://www.reddit.com/r/cybersecurity_help/comments/1h3b0s5/i_have_an_established_connection_to_a_potentially/ and here https://support.mozilla.org/mk/questions/1352614

                      But coming back to what we talked about regarding the upload getting jammed. I was checking the graph and I didn't see any traffic while my upload speed was low. Only the traffic from the speedtest itself showed up and it wasn't able to reach 50mbit/s in the graph. I also tried a directl connection with Fritzbox and do a speedtest there and the result was still too low. So no switch or anything inbetween that could interfer. I also disabled Wifi on the Fritzbox for the speedtest and it still didn't improve. I can't make sense of it and my ISP is not able to help. When the technician measures the connection directly at the source it is always perfect.

                      1 Reply Last reply Reply Quote 0
                      • U
                        Uglybrian
                        last edited by

                        Try connecting your work computer to the source. what do you get?

                        R 1 Reply Last reply Reply Quote 0
                        • R
                          rasputinthegreatest @Uglybrian
                          last edited by

                          @Uglybrian That's what I did. Connected directly on Fritzbox. Same low speed when the upload is struggling. Also tried with a laptop. The device doesn't matter once it gets jammed for whatever reason.

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

                            @rasputinthegreatest not how you think throwing pfsense into the mix was going to help you sort out what is clearly an ISP issue or fritzbox issue. One thing pfsense shows you - is its not your client sucking up the pipe.. And its now any sort of inbound traffic..

                            Contact your isp.. Nobody is going to be able to help you fix an issue with your isp other than your isp.

                            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

                            R 1 Reply Last reply Reply Quote 0
                            • R
                              rasputinthegreatest @johnpoz
                              last edited by

                              @johnpoz I think I wrote before but they say everything is fine and no issue can be detected. Had 3 technicians here already. A restart usually solves the problem for a day or sometimes longer. Since the Fritzbox was replaced as well I don't think it is the box to be honest.
                              What do you mean it's inbound traffic when my upload is affected?
                              I got pfsense also for learning more about networking not just to check the upload issue.

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                SteveITS Galactic Empire @rasputinthegreatest
                                last edited by

                                @rasputinthegreatest A restart of pfSense, or of the ISP router?

                                Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
                                When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
                                Upvote 👍 helpful posts!

                                R 1 Reply Last reply Reply Quote 1
                                • R
                                  rasputinthegreatest @SteveITS
                                  last edited by

                                  @SteveITS Sorry for the late response. Of the ISP router

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

                                    @rasputinthegreatest well - then how is not their router issue then.. Something behind that is even pfsense still has to go through that device..

                                    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

                                    R 1 Reply Last reply Reply Quote 0
                                    • R
                                      rasputinthegreatest @johnpoz
                                      last edited by

                                      @johnpoz I don't know. I didn't have any upload issues for 4 days at this point and nothing changed since then.

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