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

    What does these messages mean ?

    Scheduled Pinned Locked Moved General pfSense Questions
    12 Posts 3 Posters 4.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.
    • S
      security_paranoid
      last edited by

      Nobody ? :(

      1 Reply Last reply Reply Quote 0
      • w0wW
        w0w
        last edited by

        Something similar to https://askubuntu.com/questions/720455/would-active-connections-cause-this-ufw-block

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

          Those are ACKs - so out of state..  So yeah any stateful firewall would block those..

          You prob have an asymmetrical routing problem would be the guess off the top of my head..  What is the gateway of your linux box.. draw up your network.

          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
          • S
            security_paranoid
            last edited by

            Thanks to both for your replies.

            My network :

            WAN
            IPv4 Configuration Type :Static

            IP:                    172.16.197.XXX
            Subnet Mask: 255.255.255.0
            GATEWAY:      172.16.197.1

            LAN

            IPv4 Address: Static IPV4
            IPV4 Address : 192.168.0.1

            Where is the DNS settings ? I have set it but forgot where it was

            Linux box

            $ ifconfig 
            eth0      Link encap:Ethernet  HWaddr b8:27:eb:af:87:64  
                      inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0
                      inet6 addr: fe80::9cce:2ef4:91bc:ad15/64 Scope:Link
                      UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
                      RX packets:4357 errors:0 dropped:0 overruns:0 frame:0
                      TX packets:4249 errors:0 dropped:0 overruns:0 carrier:0
                      collisions:0 txqueuelen:1000 
                      RX bytes:4523290 (4.3 MiB)  TX bytes:593253 (579.3 KiB)
            
            
             $ route -n
            Kernel IP routing table
            Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
            0.0.0.0         192.168.0.1     0.0.0.0         UG    202    0        0 eth0
            192.168.0.0     0.0.0.0         255.255.255.0   U     202    0        0 eth0
            
            
            1 Reply Last reply Reply Quote 0
            • w0wW
              w0w
              last edited by

              DNS settings for pfSense — https://doc.pfsense.org/index.php/General_Setup
              DNS setting for linux depends on a linux system you are using, ex. https://askubuntu.com/questions/152593/command-line-to-list-dns-servers-used-by-my-system

              Using double NAT with private IP on WAN is always fun ;) As I understand you have unticked "Block private networks and loopback addresses" on WAN settings, don't you?

              1 Reply Last reply Reply Quote 0
              • S
                security_paranoid
                last edited by

                Found the DNS settings. Thanks.

                Using double NAT with private IP on WAN is always fun  As I understand you have unticked "Block private networks and loopback addresses" on WAN settings, don't you?

                No I haven't. Please see attachment.

                wan101.png
                wan101.png_thumb

                1 Reply Last reply Reply Quote 0
                • w0wW
                  w0w
                  last edited by

                  @security_paranoid:

                  Found the DNS settings. Thanks.

                  Using double NAT with private IP on WAN is always fun  As I understand you have unticked "Block private networks and loopback addresses" on WAN settings, don't you?

                  No I haven't. Please see attachment.

                  If I understand this https://doc.pfsense.org/index.php/Prevent_RFC1918_traffic_from_leaving_pfSense_via_the_WAN_interface right then in your scenario RFC1918 blocking rule is not applied, but we should wait until somebody confirms that.

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

                    So then how would acks have gotten to your linux box that were out of state?  Did you reboot or reset your linux firewall?  Pfsense does not forward traffic unless you have set it up, or there has been a state created and that traffic is in answer to a request.

                    All of those packets are from source port 443, so some site you talked to and these are the answers to your different dest ports.. Which are the source ports on your linux box..

                    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
                    • S
                      security_paranoid
                      last edited by

                      So then how would acks have gotten to your linux box that were out of state?  Did you reboot or reset your linux firewall?

                      No I didn't reboot or reset the Linux firewall.

                      Pfsense does not forward traffic unless you have set it up, or there has been a state created and that traffic is in answer to a request.

                      All of those packets are from source port 443, so some site you talked to and these are the answers to your different dest ports.. Which are the source ports on your linux box..

                      So is that normal ? Anything to worry about ?

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

                        It is normal for your linux firewall to be blocking them no.. If its traffic you created then our linux firewall should allow them.  Only if they were out of state would your firewall block them.  Only way they would be out of state is if they came from a different direction, ie asymmetrical.  Your linux firewall was not aware of the state.  Or this traffic was not actually meant for your linux machine.  Did you change its IP address and are seeing some other machines return traffic.

                        That first IP

                        ;; ANSWER SECTION:
                        12.94.189.91.in-addr.arpa. 3600 IN      PTR    feijoa.canonical.com

                        canonical is company that does ubuntu..

                        2nd IP is facebook
                        ;; ANSWER SECTION:
                        7.65.13.31.in-addr.arpa. 3600  IN      PTR    xx-fbcdn-shv-01-atl3.fbcdn.net.

                        3rd is amazon
                        ;; ANSWER SECTION:
                        82.224.16.50.in-addr.arpa. 300  IN      PTR    ec2-50-16-224-82.compute-1.amazonaws.com.

                        So these are all common IPs that your machine would normally be talking to..  So why your linux firewall is blocking them is not normal.. Unless out of state for some reason.

                        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
                        • S
                          security_paranoid
                          last edited by

                          @johnpoz

                          So what do you suggest I should do ?

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