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

    traffic in wan

    Scheduled Pinned Locked Moved Firewalling
    37 Posts 4 Posters 3.2k 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.
    • ?
      A Former User @johnpoz
      last edited by A Former User

      @johnpoz https: //files. fm/u/7kcgvm8ag#/view/xjswpx877

      Setting OPENVPN

      50df7254-f2ef-4d9d-8252-7deecbb98201-image.png

      d6e03149-35ca-42cf-9548-7adbe97bc576-image.png

      ? 1 Reply Last reply Reply Quote 0
      • ?
        A Former User @johnpoz
        last edited by

        @johnpoz said in traffic in wan:

        So how would you be sending traffic from that 72 IP to 31, and then 31 through some server connection, and then getting an answer back on pfsense wan.

        This is what I am trying to find out, what is really going on?

        because everything seems to work 100%

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User @Gertjan
          last edited by

          @gertjan @johnpoz Any suggestion?

          GertjanG 1 Reply Last reply Reply Quote 0
          • GertjanG
            Gertjan @A Former User
            last edited by

            @silence said in traffic in wan:

            NO DMZ

            Then how passes this traffic "destination port 31599" through your ISP router ?
            No NAT rules on that router ?

            @silence said in traffic in wan:

            Any suggestion?

            Yep, a suggestion - not a solution.

            First things first : Status > System Logs > Settings :
            Uncheck :
            97bbdfc3-a405-46ef-8434-c29374eb6689-image.png

            Rules on your WAN interface : don't make them log.

            And enjoy the silence ^^

            @johnpoz said in traffic in wan:

            seems facebook is playing

            My advise : refuse their 'games' ;)

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

            ? 3 Replies Last reply Reply Quote 0
            • ?
              A Former User @Gertjan
              last edited by

              @gertjan said in traffic in wan:

              Uncheck :

              e50b9be6-441b-41bd-85db-edce62f0595e-image.png

              They were always like this.

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

                @silence no they weren't, the default is all checked except the default pass.

                I have setup pfsense countless times.. And here this is a default VM setup not that long ago..

                default.jpg

                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
                • ?
                  A Former User @johnpoz
                  last edited by

                  @johnpoz said in traffic in wan:

                  @silence no they weren't, the default is all checked except the default pass.

                  I think they are not understanding me,

                  first: from the beginning of the installation uncheck these options

                  second: I think they are straying a bit from the main question!

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @Gertjan
                    last edited by

                    @gertjan said in traffic in wan:

                    My advise : refuse their 'games' ;)

                    @johnpoz dice

                    @gertjan said in traffic in wan:

                    seems facebook is playing

                    I don't understand what you mean by which facebook is playing?

                    I'm just trying to come to the conclusion!

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User @Gertjan
                      last edited by

                      @gertjan said in traffic in wan:

                      Then how passes this traffic "destination port 31599" through your ISP router ?

                      on router is open port 10443 1194 and 9022

                      NO USE DMZ.

                      I need help to determine if facebook is trying something unauthorized against my pfsense or just normal traffic.

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @A Former User
                        last edited by

                        @viragomann It can help me to get out of doubt ...

                        V 1 Reply Last reply Reply Quote 0
                        • V
                          viragomann @A Former User
                          last edited by

                          @silence
                          Obviously you get requests form 72.238.67.3 to 31.13.71.1:443 from a client connected to your OpenVPN server.
                          These are directed out to your WAN correctly and it gets your WAN address, which 31.13.71.1 is responding to. But for what ever reason pfSense obviously has not set a state and the traffic is blocked by your WAN Deny_All_To_Any rule. So presumably without this rule, it would by blocked by the Default_deny rule anyway.

                          I'm wondering if the traffic from public source IPs is really desired on your VPN server.

                          However, basically this should work, but obviously pfSense has no state for the connection, when the response is coming back.
                          Maybe it has something to do with the scheduled rule, which is allowing it and the rule was just closed.
                          If that's the reason, ensure that System > Advanced > Miscellaneous > Schedule States is unchecked.

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

                            @viragomann said in traffic in wan:

                            But for what ever reason pfSense obviously has not set a state and the traffic is blocked

                            If you send out a connection out a VPN, how would the destination your talking to even know your wan IP? And no there would be no state if sent out traffic connection A, and answer came in connection B.

                            He still hasn't answered the question about the VPN and how its being used. How would he be sending traffic out a VPN server connection?

                            He doesn't even have a LAN interface listed.. So really curious on what kind of setup he has.. Where is this client that is going to facebook? Is this client some vpn client, connecting to pfsense, and its routing the traffic out its wan to facebook?

                            How and the F is pfsense seeing this traffic on its 192.168.1.254 address?

                            How is traffic coming into his VPN server public space? And going to 31.13? and not being natted to his 192.168 address - which would create the state..

                            A diagram of this setup would be most helpful..

                            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

                            V 1 Reply Last reply Reply Quote 0
                            • V
                              viragomann @johnpoz
                              last edited by

                              @johnpoz said in traffic in wan:

                              If you send out a connection out a VPN, how would the destination your talking to even know your wan IP?

                              Because of masquerading. pfSense translates the source, when sending the packet out on WAN and then the ISP route translates it to its public IP.

                              How is traffic coming into his VPN server public space? And going to 31.13? and not being natted to his 192.168 address - which would create the state..

                              It's thinkable that a client, who is connected to his VPN server, forwards this to him. He is accepting any source IP on the OpenVPN interface and so the client can send him whatever source he want.

                              A diagram of this setup would be most helpful..

                              Agree, still too few details.

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

                                @viragomann said in traffic in wan:

                                source IP on the OpenVPN interface and so the client can send him whatever source he want.

                                Not how it works.. The client of the vpn server would get an IP from the vpn server (the tunnel network)..

                                Unless he has some downstream clients using this vpn connection..

                                We really need a drawing, and understand where these "clients" are that are using pfsense to get to facebook..

                                Are these clients in some remote location and getting to pfsense via a site to site vpn? Why are they using a Charter Communications, Inc public IP? That 72.238 IP.

                                Even if that is the case, pfsense would still nat the traffic trying to go to facebook to its 192.168.1.254 address. So there should be a state - look to your state table for states going to this 31 address.

                                It seems he does have his connections allowed through some schedule.. Is that schedule killing states every minute or something... When do these blocked logged entries show up? All the time, only at the end of the schedule when states are killed.

                                Here is what I can tell you - if pfsense sent traffic out its wan to that 31 address there should be a state created, if there wasn't nothing would work... He says stuff is working, but if at some point those states are killed then incoming return traffic would be blocked as out of state.

                                Facebook sure and the hell is not going to be sending you traffic to some random port from a source of 443.. You have requested this traffic, it is in answer to your traffic.. Why you would be blocking it is there is no state, either it was never created - if that is the case how would it work, or its being killed off and that is when its showing the block in the log.

                                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
                                • ?
                                  A Former User @johnpoz
                                  last edited by

                                  @johnpoz, @viragomann @Gertjan

                                  Sorry for the delay, it is very involved in the investigation, and I want to confirm that everything works 100% but even so I continue to receive this traffic during the day.

                                  johnpozJ 1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User @A Former User
                                    last edited by

                                    @silence said in traffic in wan:

                                    https: //files. fm/u/7kcgvm8ag#/view/xjswpx877

                                    @Gertjan @viragomann @johnpoz in case you didn't see it ...

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

                                      @silence where did you get the idea to use

                                      72.238.67.0/24

                                      As your tunnel network?? That make zero sense.. Where is the rest of the info? Use a rfc1918 address for your tunnel, not some public route-able address owned by COX.

                                      Where are you outbound nats? So you have some client that comes in and then you had him a public IP, and then show us firewalls then with such info makes zero sense..

                                      Where is your state table - again does this happen all the time, only at specific times per your schedule where your resetting states?

                                      You have no lan - who exactly are these clients? They sure and the hell are not getting to pfsense to talk to a vpn when it has 192.168.1.254 as its wan, so you have something in front of pfsense and your forwarding traffic, etc..

                                      Nobody can help you without info.

                                      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
                                      • ?
                                        A Former User @johnpoz
                                        last edited by

                                        @johnpoz said in traffic in wan:

                                        where did you get the idea to use
                                        72.238.67.0/24

                                        This is necessary to bypass a ** rfc1918 address ** lock

                                        Where are you outbound nats? = Default

                                        Where is your state table - again does this happen all the time, only at specific times per your schedule where your resetting states?

                                        this happens randomly throughout the day ... maybe 2 or 3 packets a day.

                                        You have no lan - who exactly are these clients? They sure and the hell are not getting to pfsense to talk to a vpn when it has 192.168.1.254 as its wan, so you have something in front of pfsense and your forwarding traffic, etc..

                                        There is no lan, it is a vpn within 192.168.1.254 This sends everything through its gateway 192.168.1.1 and it has 2 ports open for the vpn.

                                        this is all the configuration you want to know the most?

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

                                          @silence Dude look in your state table!! You will see traffic to that IP.. Your sending traffic to facebook via QUIC..

                                          Validate that by looking for traffic going thee.. Create an rule that you log so you can see

                                          If the return traffic, which clearly this natting router in front of you sent... Does not have a state in pfsense - for what reason? Then it would be blocked.

                                          But sure and the hell is not facebook trying to spy on you from source port 443.. The traffic could never even get to pfsense unless your router in front of it had a state to send to you.. Because you created the traffic too them.

                                          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
                                          • ?
                                            A Former User @johnpoz
                                            last edited by

                                            @johnpoz a1ccdc50-75a2-4359-bce4-8216c3bed8d8-image.png

                                            in this case it is apple

                                            So should I accept this traffic?

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