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

Problemi with dns resolution

Scheduled Pinned Locked Moved OpenVPN
dns resolution
26 Posts 4 Posters 2.4k 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
    sasa1
    last edited by Mar 29, 2019, 2:07 PM

    the result is in attach.
    Yes, force DNS cache update is already selected.nslookup2.PNG
    Thanks.

    1 Reply Last reply Reply Quote 0
    • K
      KOM
      last edited by Mar 29, 2019, 2:08 PM

      Show me a screenshot of your firewall rules for the OpenVPN interface. I suspect you're not allowing UDP traffic or something like that.

      1 Reply Last reply Reply Quote 0
      • S
        sasa1
        last edited by Mar 29, 2019, 2:11 PM

        Hi,
        attached the required rules.
        Thanks.rules openvpn.JPG

        1 Reply Last reply Reply Quote 0
        • K
          KOM
          last edited by Mar 29, 2019, 2:15 PM

          Set the protocol to Any and try again.

          1 Reply Last reply Reply Quote 0
          • S
            sasa1
            last edited by sasa1 Mar 29, 2019, 2:31 PM Mar 29, 2019, 2:31 PM

            Hi,
            unfortunately even with any dns resolution it fails.
            Thanks.
            rules2.JPG

            1 Reply Last reply Reply Quote 0
            • K
              KOM
              last edited by Mar 29, 2019, 2:40 PM

              Very strange. Does your firewall log show any relevant blocks while you're testing?

              1 Reply Last reply Reply Quote 0
              • S
                sasa1
                last edited by Mar 29, 2019, 5:31 PM

                Hi,
                no, I don't see deny in the logs.
                Thanks.

                1 Reply Last reply Reply Quote 0
                • K
                  KOM
                  last edited by Mar 29, 2019, 5:32 PM

                  Yo @johnpoz Johnny joe ray bob, any thoughts?

                  1 Reply Last reply Reply Quote 0
                  • M
                    marvosa
                    last edited by marvosa Mar 30, 2019, 5:19 AM Mar 30, 2019, 5:18 AM

                    We need more details on the setup. For clarity, is "host-to-site" referring to a remote access, road warrior setup? If so, post the server1.conf (/var/etc/openvpn).

                    We'll know more once we see the config, but is all traffic forced thru the tunnel?

                    1 Reply Last reply Reply Quote 0
                    • S
                      sasa1
                      last edited by Mar 30, 2019, 10:46 AM

                      Hi, attached server1.conf.
                      The address:
                      192.168.1.1
                      is the address of the router / dns referenced by the remote client that connects to my openvpn server.
                      The pfSense version is 2.3.2, do I need to update it?
                      Thanks.
                      server1.txt

                      1 Reply Last reply Reply Quote 0
                      • M
                        marvosa
                        last edited by marvosa Mar 30, 2019, 2:40 PM Mar 30, 2019, 2:28 PM

                        Not seeing anything out of the ordinary in the config. Looks like a standard, split tunnel config. Which raises the question though, since the client is using their own internet connection for the internet, why are you pushing public DNS? It's unnecessary. It's not the issue, but unnecessary.

                        So, the config tells me you have a split tunnel, remote access solution where the clients are using their own internet connection for everything except for traffic destined to 10.0.0.0/24 (server-side LAN). This is all standard stuff. The config looks nearly identical to all of the split tunnel configs I've deployed.

                        On split tunnel implementations, all of the subnets have to be unique on both ends, so the only thing that would cause issues, in this case, would be if the client's LAN is either 192.168.10.0/24 or 10.0.0.0/24 (or if the client is trying to connect from somewhere inside the server-side LAN). Outside of those scenarios, this particular issue appears to be on the client-side network. The client's PC is having issues resolving DNS, regardless of the VPN since they're using their own internet.

                        I would do a few things for starters:

                        1. Update your PFsense firmware. (v2.3.2 is 16 versions behind and almost 3 years old)
                        2. Remove the DNS push for 8.8.8.8 (uncheck "DNS SErver enable")
                        3. Remove the recently checked "Force DNS cache update" option (not needed when not pushing DNS)
                        4. Re-export the full OpenVPN windows installer package, send it to your user, have them uninstall their current package, manually delete the "C:\Program Files\OpenVPN" directory, then install the new package.

                        I suspect the remote-end had DNS issues even before connecting, but after the above is done, if they continue to have issues then the problem is definitely somewhere on the remote network. The client-end will need to troubleshoot DNS resolution on their end because all internet activity, in this case, is handled by the client-side network.

                        I would also verify there are no stray, statically set DNS entries or manually added persistent routes on the PC.

                        S 1 Reply Last reply Apr 1, 2019, 10:44 AM Reply Quote 1
                        • S
                          sasa1
                          last edited by Apr 1, 2019, 9:43 AM

                          Hi,
                          I performed all indicated steps,now on the Windows 10 remote client I downloaded the openvpn client version 2.4.7.
                          Now when install to try it I have an error message saying that the version is not supported by Windows 10.client openvpn.JPG
                          Thanks

                          1 Reply Last reply Reply Quote 0
                          • S
                            sasa1 @marvosa
                            last edited by Apr 1, 2019, 10:44 AM

                            @marvosa
                            I downloaded the client from the openvpn web site and it worked.
                            I tried the vpn connection and now also Internet access works !
                            Thank you all for your help.

                            1 Reply Last reply Reply Quote 0
                            • W
                              wesleylc1 Rebel Alliance
                              last edited by Apr 3, 2019, 2:28 PM

                              Hi I have the same problem.

                              M 1 Reply Last reply Apr 3, 2019, 3:01 PM Reply Quote 0
                              • M
                                marvosa @wesleylc1
                                last edited by Apr 3, 2019, 3:01 PM

                                @wesleylc1 said in Problemi with dns resolution:

                                Hi I have the same problem.

                                Please start a new thread so we can offer targeted troubleshooting based on your network.

                                W 1 Reply Last reply Apr 3, 2019, 3:04 PM Reply Quote 0
                                • W
                                  wesleylc1 Rebel Alliance @marvosa
                                  last edited by Apr 3, 2019, 3:04 PM

                                  @marvosa I had already opened the case yesterday, follow the link

                                  https://forum.netgate.com/topic/142192/slow-navigation-after-connecting-openvpn-problem-with-host-to-site-dns-resolution/3

                                  Thank you.

                                  1 Reply Last reply Reply Quote 0
                                  20 out of 26
                                  • First post
                                    20/26
                                    Last post
                                  Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                                    This community forum collects and processes your personal information.
                                    consent.not_received