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

    Strange issue - not sure how to fix

    Scheduled Pinned Locked Moved General pfSense Questions
    93 Posts 3 Posters 17.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.
    • P
      pfguy2018
      last edited by

      Noted. I don't have any outgoing VPN's set up. But I did notice that under system/routing/gateways, the default gateway was indeed set to "automatic". I have changed the default to my intended interface. Hopefully this setting stays set and I don't run into this problem again.

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

        That 'automatic' setting was almost certainly the cause here.

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

          While auto is a good "default" settings.. Its not like it can't cause issues.. Unless you have reason to set it to automatic.. Its best to set it to specific..

          I am with @stephenw10 here that could be the root of the problem... Lets see how stability is once you have set it to something specific..

          So what do you have in gateways - only the 1 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.8, 24.11

          1 Reply Last reply Reply Quote 0
          • P
            pfguy2018
            last edited by

            @johnpoz said in Strange issue - not sure how to fix:

            So what do you have in gateways - only the 1 interface?

            No, under system/routing/gateways, I have the WAN interface and my VPN server interfaces listed. I have set the WAN interface as the default gateway.

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

              @pfguy2018 said in Strange issue - not sure how to fix:

              nd my VPN server interfaces listed.

              WHY that shouldn't be int there... No wonder you having issues!!!

              Whee did you get the nonsense that you should set a gateway to yourself???

              That ns1vpn you see is in my posting is to vpn where pfsense is the client!!!! Not the server..

              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

              P 1 Reply Last reply Reply Quote 0
              • P
                pfguy2018
                last edited by pfguy2018

                I am pretty sure that the extra interfaces under system/routing/gateways (i.e. the VPN server interfaces) got added automatically when I set up the VPN servers years ago (using the built in "wizards" in pfSense). Should I remove everything other than the WAN interface? If I do that, how will the VPN clients be able to access the VPN servers?

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

                  The vpn server instances would have to have been assigned. Which is fine you can do that but I would not expect so see a gateway on them.

                  You can unassign them as interfaces and clients will still be able to connect and use them just fine, that's the default setup for an OpenVPN server.

                  You don't have to do anything since you've now set the WAN as your default gateway the system won't choose the VPN servers again.

                  Steve

                  1 Reply Last reply Reply Quote 0
                  • P
                    pfguy2018 @johnpoz
                    last edited by

                    @johnpoz said in Strange issue - not sure how to fix:

                    That ns1vpn you see is in my posting is to vpn where pfsense is the client!!!! Not the server..

                    I am not sure what you are referring to here. Which posting?

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

                      Dude A gateway for a vpn server your setting up would NEVER get created - you must of created it.... Because you read some guide wrong or the guide was just borked.

                      Pfsense is acting as the vpn server for clients to connect too... Why and the F would it need a gateway set - where would it go via it, how would it be used... Having a gateway setup to yourself is just plain bonkers when your acting as a remote server to clients. Now if your a client, ie pfsense itself connects to some vpn server out there - then yes it would need a gateway to use that...

                      I would fix your clearly borked setup!!

                      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

                      P 1 Reply Last reply Reply Quote 0
                      • P
                        pfguy2018 @johnpoz
                        last edited by

                        @johnpoz

                        That makes sense. I will go ahead and remove them. So far, since I set the default gateway as WAN, I have not experienced any further DNS resolution issues.

                        1 Reply Last reply Reply Quote 0
                        • P
                          pfguy2018
                          last edited by

                          OK - have removed all the other interfaces from system/routing/gateways, and have left the 1 remaining interface (WAN) as the selected default. No problems connecting to any of the VPN server instances. And DNS resolution remains functional. I will continue to monitor, but it really does appear that this problem has now been solved. Thanks again to @johnpoz and @stephenw10 .

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