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

    Echo Reply (ICMP) necessary for OpenVPN client to work?

    Scheduled Pinned Locked Moved OpenVPN
    18 Posts 6 Posters 1.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.
    • W
      wifimasters
      last edited by

      Setting up OpenVPN for a "work from home" due to the virus. 10 users working from home using separate accounts each. 3 out of the 10 users are NOT able to create the VPN the rest are working fine. The only difference with these problematic users are they are NOT able to ping the access server (pfSense). Netcat test from these 3 locations shows client can reached port 1194/UDP but not ping.

      Question: is echo reply (ICMP) from the access server back to the client necessary for the remote clients to work? Same telco provider.

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

        Ability to ping is not a requirement for openvpn connection.. But if your clients are unable to ping the IP of your server, and you allow it (your other clients can ping)... That points to something on the clients network (isp or them) that is causing issue.

        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

        W 1 Reply Last reply Reply Quote 0
        • noplanN
          noplan
          last edited by

          we stumble across the net bios settings for some unknown reasons after turnin this on
          settin it on m-mode at openVPN server it works. so no questions asked
          sollution runnin under the tag quick n dirty solved

          hope this can help
          #staysafe n healthy

          JKnottJ 1 Reply Last reply Reply Quote 0
          • JKnottJ
            JKnott @noplan
            last edited by

            @noplan

            ????

            Netbios has nothing to do with ping or OpenVPN.

            PfSense running on Qotom mini PC
            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel Gb Ethernet ports.
            UniFi AC-Lite access point

            I haven't lost my mind. It's around here...somewhere...

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

              Yeah the supporting netbios setting in the vpn settings would have nothing to do with the client connecting.

              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

              noplanN 1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate @wifimasters
                last edited by

                @wifimasters said in Echo Reply (ICMP) necessary for OpenVPN client to work?:

                Netcat test from these 3 locations shows client can reached port 1194/UDP but not ping.

                What kind of test exactly? Netcat will always report success for UDP no matter what. Even for closed/firewalled ports. You can't test UDP that way. And OpenVPN won't send a banner so you can't check for a test reply either.

                I bet they can't actually reach the server for one reason or another.

                Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                W 1 Reply Last reply Reply Quote 0
                • W
                  wifimasters @johnpoz
                  last edited by

                  @johnpoz thanks for the response. Is there any specific port/protocol needs to be open or anything for them to investigate at?

                  1 Reply Last reply Reply Quote 0
                  • W
                    wifimasters @jimp
                    last edited by

                    @jimp thanks for your response. I thought 1194/UDP was blocked so I switched to 443/TCP and all results are the same. I tried to open up web services (port forward) and see if these 3 users/location can access and yes, they can access ports 80 & 8081.

                    I have the pcap file captured while the client is attempting to contact the access server. Can it be uploaded here for review? Currently these users are temporarily using remote displays (Teamviewer or Anydesk) which is very slow.

                    thanks.

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      Packet capture wouldn't be helpful, really. The OpenVPN client log and OpenVPN server log would most likely have anything you'd need.

                      Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      W 1 Reply Last reply Reply Quote 0
                      • noplanN
                        noplan @johnpoz
                        last edited by

                        @johnpoz & @johnpoz
                        true ad netbios my fault spped reading gone wrong ;(
                        sorry

                        1 Reply Last reply Reply Quote 0
                        • W
                          wifimasters @jimp
                          last edited by

                          @jimp I left the user location already and only left with 1 vpn client log, mostly I got are pcap files. I have attached and let me know your thought. thank you.OpenVPN_client_Netgate_Forum.txt

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

                            TLS Error: TLS key negotiation failed to occur within 60 seconds (check your network connectivity)

                            This says you couldn't connect.. See how it says check network connectivity..

                            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
                            • jimpJ
                              jimp Rebel Alliance Developer Netgate
                              last edited by

                              Unfortunately that error from the client side is pretty generic. The server log would have better information. (And if there are no entries in the server log from their connection attempts, then they are definitely not connecting to the OpenVPN instance on the server side...)

                              Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                              Need help fast? Netgate Global Support!

                              Do not Chat/PM for help!

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

                                ^ true.. the log on the server will show if server is seeing any connection attempt at all..

                                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
                                • W
                                  wifimasters @jimp
                                  last edited by

                                  @jimp let me dig the server logs corresponding to the date/time of the client. thanks

                                  W 1 Reply Last reply Reply Quote 0
                                  • W
                                    wifimasters @wifimasters
                                    last edited by

                                    @wifimasters GUI logs is only 2000 lines maximum I can't dig longer. Actual log also the same.

                                    1 Reply Last reply Reply Quote 0
                                    • RicoR
                                      Rico LAYER 8 Rebel Alliance
                                      last edited by

                                      Crank up the logfilter:
                                      pfsense_log-quantity.png

                                      -Rico

                                      W 1 Reply Last reply Reply Quote 1
                                      • W
                                        wifimasters @Rico
                                        last edited by

                                        @Rico thanks mate! will try this.

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