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

    Get public ip for pcs

    Scheduled Pinned Locked Moved General pfSense Questions
    79 Posts 3 Posters 12.7k 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
      s_serra @johnpoz
      last edited by

      @johnpoz

      15:56:55.997368 IP x.x.x.x > 176.79.22.208: ICMP echo request, id 54626, seq 182, length 40
      15:57:00.994130 IP x.x.x.x > 176.79.22.208: ICMP echo request, id 54626, seq 183, length 40

      on the lan side it also worked, I tested it on the bridge interface and it also receives a response

      johnpozJ 1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        So you see replies from the server on LAN and Bridge but not WAN?

        Did you check the MAC addresses in the pcap yet? You need to confirm those are correct.

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

          @s_serra You say you see a response? Or you see my ping going to your 22.208 address?

          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.7.2, 24.11

          S 1 Reply Last reply Reply Quote 0
          • S
            s_serra @johnpoz
            last edited by

            @johnpoz

            I saw ping icmp on all interfaces

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

              @s_serra the reply, not just the request?

              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.7.2, 24.11

              S 1 Reply Last reply Reply Quote 0
              • S
                s_serra @johnpoz
                last edited by

                @johnpoz

                d1181b93-0830-4b41-a33e-1dccc6554992-image.png

                I just get it

                johnpozJ stephenw10S 2 Replies Last reply Reply Quote 0
                • S
                  s_serra
                  last edited by

                  @stephenw10

                  how I use pcap is it in pfsense or is it another tool?

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

                    @s_serra so that is pfsense sending on my request to your 22.208 box - which is not answering..
                    Which would assume means its running a firewall

                    If you validate that the mac address pfsense sent to was the correct mac address of your 22.208 box. You can view that by downloading the packet capture and viewing with say wireshark. Or up the verbosity of the packet capture where it shows mac address.

                    But what I would bet a very large sum of money on is your 22.208 box is running its own firewall and just not answering the traffic.

                    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.7.2, 24.11

                    S 1 Reply Last reply Reply Quote 0
                    • stephenw10S
                      stephenw10 Netgate Administrator @s_serra
                      last edited by

                      @s_serra said in Get public ip for pcs:

                      I just get it

                      So to confirm you are only seeing requests and no replies when you pcap on BOTH WAN and LAN?

                      stephenw10S 1 Reply Last reply Reply Quote 0
                      • S
                        s_serra @johnpoz
                        last edited by s_serra

                        @johnpoz

                        67b8a6a4-db6a-4b27-8c23-8791125cb231-image.png

                        here it works on my pc so i think it's not from the machine's firewall

                        johnpozJ 2 Replies Last reply Reply Quote 0
                        • johnpozJ
                          johnpoz LAYER 8 Global Moderator @s_serra
                          last edited by

                          @s_serra your machine where? There is a HUGE difference in talking to some box on the same network as you - and some strange public IP..

                          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.7.2, 24.11

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

                            @s_serra dude - I have to assume 22.207 is on your network as well since you said your mask is /24 - or is this assigned to someone else??

                            Because 22.207 answers

                            $ ping 176.79.22.207
                            
                            Pinging 176.79.22.207 with 32 bytes of data:
                            Reply from 176.79.22.207: bytes=32 time=120ms TTL=45
                            Reply from 176.79.22.207: bytes=32 time=119ms TTL=45
                            

                            Which is another SCREAMING indication of firewall on the 22.208 box

                            22.206 also answers, and 22.210-212 all answer..

                            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.7.2, 24.11

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              s_serra @johnpoz
                              last edited by s_serra

                              @johnpoz
                              These IPS are other people's. MY ISP provides IPS via DHCP as available. The machine on which it works is also connected to a bridge with another public IP of a different range.

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

                                @s_serra well here is what we know.. Pfsense is seeing the traffic on its wan, and it sends it on to the 22.208 box via your sniff on the lan.

                                But there is no answer from the 22.208 box. This means its not pfsense - and something on the machine.. Maybe its not getting the ping requests? Sniff on the machine.. My ping is still running.

                                But if your saying outbound works, and we see the pings go out pfsense lan side interface to the 22.208 box.. It screams something on the machine is blocking it.

                                It sure is not pfsense causing the issue.. If it was you either wouldn't see the traffic sent on the lan side interface to 22.208, or you would see the reply and just not going out the wan interface.

                                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.7.2, 24.11

                                1 Reply Last reply Reply Quote 0
                                • stephenw10S
                                  stephenw10 Netgate Administrator @stephenw10
                                  last edited by

                                  @stephenw10 said in Get public ip for pcs:

                                  @s_serra said in Get public ip for pcs:

                                  I just get it

                                  So to confirm you are only seeing requests and no replies when you pcap on BOTH WAN and LAN?

                                  Can you confirm that ^ before we go any further here?

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

                                    @stephenw10 from what he posted here

                                    https://forum.netgate.com/post/1001734

                                    This was on the lan side when he was sniffing - and it only sees the request not the reply.. So unless there was a drastic misunderstanding and what he posted was just on the wan.. Then the lan side is sending request, but not seeing reply.

                                    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.7.2, 24.11

                                    1 Reply Last reply Reply Quote 0
                                    • stephenw10S
                                      stephenw10 Netgate Administrator
                                      last edited by

                                      Are you sure that was the LAN side? Seems completely unclear to me.

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

                                        @stephenw10 Well you would hope so - since that is what I asked for ;)

                                        But sure lets wait til he validates..

                                        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.7.2, 24.11

                                        S 1 Reply Last reply Reply Quote 0
                                        • S
                                          s_serra @johnpoz
                                          last edited by

                                          @johnpoz

                                          sorry for the delay in answering i had to leave.

                                          35856930-935c-47c0-856d-42fe6679cc6a-image.png

                                          I tried connecting the wan cable directly to my pc. without going through pfsense

                                          I used my cell phone to try to access it through an open public network and without going through pfsense it works.

                                          2364b45d-b405-41ef-907e-957a8cf5c83d-image.png

                                          c3bf3a45-2fa2-4d91-bc9e-9572e198ff51-image.png

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

                                            I've already passed it back to pfsense. it was just to test

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