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

    Internet Connection causes pings to fail

    Scheduled Pinned Locked Moved General pfSense Questions
    13 Posts 3 Posters 1.2k Views 3 Watching
    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 Offline
      Gertjan @CBCH
      last edited by

      @cbch

      This is the real 1.1.1.1 : https://www.cloudflare.com/fr-fr/learning/dns/what-is-1.1.1.1/

      using their IPv4 is just not done, and creates problems.

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

      johnpozJ C 3 Replies Last reply Reply Quote 0
      • johnpozJ Offline
        johnpoz LAYER 8 Global Moderator @Gertjan
        last edited by johnpoz

        1.1.1.2/30 is what I'm using to simulate a user from the Internet.

        Huh? That doesn't make a lot of sense to me. Where exactly does that connect too?

        Your rule wan net to lan net? When would that work? your wan net is a /30 so your allowing 1.1.1.1 only to talk to anything on the lan.. What would be generating this traffic into your lan? And whats the point of that rule anyway when you have allow any any rules above them?

        If you want to "simulate" external - say internet. What does that have to do with using a public /30 on our pfsense wan?

        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
        • C Offline
          CBCH @Gertjan
          last edited by

          @gertjan Oh my, I did not know that, I'm going to change it later, thanks for the heads up.

          1 Reply Last reply Reply Quote 0
          • C Offline
            CBCH @Gertjan
            last edited by CBCH

            @gertjan It is just my own sandbox network environment. And yes, WAN to LAN does work when I remove the bridged adapter. I am allowed to talk to the LAN, which in my case is simulating the DMZ where I host my webserver. I added in the rule, later on, to make sure that it allows ICMP to pass through, it was just to serve as a double-check.

            And once again, it is my own sandbox environment, so my 'External' isn't really the Internet at all. It's just a simulate it. I hope this clears your doubts

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

              @cbch said in Internet Connection causes pings to fail:

              so my 'External' isn't really the Internet at all. It's just a simulate it.

              That does not require a public IP.. You can "simulate" external or internet with any rfc1918 range just the same.

              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

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                CBCH @johnpoz
                last edited by

                @johnpoz Yea.. I did not know it is a public IP, my bad about that

                C 1 Reply Last reply Reply Quote 0
                • C Offline
                  CBCH @CBCH
                  last edited by

                  @cbch So what you guys are saying is that using private IP will fix the issue? Do correct me if I am wrong, my network here seems like a disaster to me.

                  C 1 Reply Last reply Reply Quote 0
                  • C Offline
                    CBCH @CBCH
                    last edited by CBCH

                    @gertjan & @johnpoz I just had a discussion with my teacher. He mentioned that I should add another static route (NAT) from the PFSense router to the Internet, so based on this, I added an OPT5 interface to my router and tested it using an IP of 192.168.0.112/24. Is this the correct idea? Because it still doesn't work for me. Or is it because I have to add another WAN interface to the router?

                    PS: The first WAN interface is to connect it to a network to simulate the Internet and cannot be changed (it's just set in stone for this project of mine, don't mind it)

                    C 1 Reply Last reply Reply Quote 0
                    • C Offline
                      CBCH @CBCH
                      last edited by

                      @cbch Ok, I fixed the issue, just adding another NAT adapter to my PFSense router did the job. Thanks a lot for all your help.

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

                        @cbch said in Internet Connection causes pings to fail:

                        just adding another NAT adapter to my PFSense router did the job

                        Why would you do that?

                        You really should not have to nat in your vmhost..

                        For setting up a lab in vm tied to physical network(s) you would use bridge interface in vm network. This ties the vm to the physical world the host is connected to on that interface. If your vms do not need to be tied to physical world via an interface, and say route through pfsense vm to get to the real world. Then the vm network in that case would normally be host only 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

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