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

                              This post is deleted!
                              1 Reply Last reply Reply Quote 0
                              • S
                                s_serra
                                last edited by

                                f6966a6e-4ef2-487b-9d50-34c259893552-image.png

                                4b1ea585-2a50-4162-b923-eda57491d151-image.png

                                acf349a2-1ff1-4a0d-8dcf-3785e3639114-image.png

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

                                  @s_serra all of those packet captures show reply with it going back out the wan

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

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

                                    @johnpoz

                                    icmp seems to be fine. but the problem is the ports don't work when i go through pfsense.

                                    if I don't go through pfsense everything is fine but I would like to have a firewall and a few more things like suricata.

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

                                      @s_serra no its not fine - I am not actually getting an answer to my ping - even though you show the reply going out the wan - I am not getting the 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

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

                                        @johnpoz
                                        where is this blocking?

                                        do you want access to my pfsense to check? (I sent the info in pm)
                                        I maybe did something wrong in pfsense

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

                                          Check the MAC addresses on those ping packets. Is it actually going to the right place?

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

                                            @stephenw10 I don't know how to do this hahaha. Im noob

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