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

    Issues with OpenVPN Configuration

    Scheduled Pinned Locked Moved OpenVPN
    73 Posts 6 Posters 17.5k 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.
    • K
      kejianshi
      last edited by

      Can you connect your phone then go to:

      Status: OpenVPN

      Post what is on that page.

      1 Reply Last reply Reply Quote 0
      • D
        dhendriksen
        last edited by

        @kejianshi:

        Can you connect your phone then go to:

        Status: OpenVPN

        Post what is on that page.

        As requested.

        ![VPN Status.jpg](/public/imported_attachments/1/VPN Status.jpg)
        ![VPN Status.jpg_thumb](/public/imported_attachments/1/VPN Status.jpg_thumb)

        1 Reply Last reply Reply Quote 0
        • K
          kejianshi
          last edited by

          And while its connected, in the phone browser, if you type

          https://192.168.1.1  -  What does this get?

          https://www.google.com - What does this get?

          https://192.168.79.1  -  What does this get?

          1 Reply Last reply Reply Quote 0
          • D
            dhendriksen
            last edited by

            @kejianshi:

            And while its connected, in the phone browser, if you type

            https://192.168.1.1  -  What does this get?

            https://www.google.com - What does this get?

            https://192.168.79.1  -  What does this get?

            They all yield the same result. Nothing loads.

            Screenshot_2015-02-20-00-46-38.png
            Screenshot_2015-02-20-00-47-19.png
            Screenshot_2015-02-20-00-46-38.png_thumb
            Screenshot_2015-02-20-00-47-19.png_thumb

            1 Reply Last reply Reply Quote 0
            • K
              kejianshi
              last edited by

              Try deleting the configuration off your phone.  Export the configuration from pfsense openvpn client export.

              Reinstall and retry.

              If its still broken I have to imagine there is something up with either the LTE service causing problems or the phone its self.

              1 Reply Last reply Reply Quote 0
              • DerelictD
                Derelict LAYER 8 Netgate
                last edited by

                Instead of troubleshooting with a phone do you have a laptop so you can run some real troubleshooting tools?

                Chattanooga, Tennessee, USA
                A comprehensive network diagram is worth 10,000 words and 15 conference calls.
                DO NOT set a source address/port in a port forward or firewall rule unless you KNOW you need it!
                Do Not Chat For Help! NO_WAN_EGRESS(TM)

                1 Reply Last reply Reply Quote 0
                • K
                  kejianshi
                  last edited by

                  It might be useful to take the phone, share its LTE connection via hotspot to the laptop and test openvpn on the laptop connected via the hotspot to see if its LTE connection thats breaking things or if its something particular to the phone its self.

                  1 Reply Last reply Reply Quote 0
                  • D
                    dhendriksen
                    last edited by

                    Laptops connect just fine and work.

                    I DID use this very phone as a hotspot, and connected a laptop to it and it worked great.

                    The issue guys, is with this phone connecting. Everything else connects fine. That's why it's all focused on the phone connection. That's where the problem lies.

                    1 Reply Last reply Reply Quote 0
                    • K
                      kejianshi
                      last edited by

                      Could be a broken install of openvpn on your phone.  Like either it needs root access and doesn't have it or you used the wrong version.

                      go take a look in the google play store at my apps and tell me the EXACT name of the openvpn app you are running.

                      1 Reply Last reply Reply Quote 0
                      • D
                        dhendriksen
                        last edited by

                        It's the official OpenVPN app. See the attached screenshot.

                        Screenshot_2015-02-20-07-10-26.png
                        Screenshot_2015-02-20-07-10-26.png_thumb

                        1 Reply Last reply Reply Quote 0
                        • K
                          kejianshi
                          last edited by

                          I'm stumped

                          1 Reply Last reply Reply Quote 0
                          • D
                            dhendriksen
                            last edited by

                            @kejianshi:

                            I'm stumped

                            It's a real head scratcher! I just tried deleting the app and reinstalling it. No difference.

                            1 Reply Last reply Reply Quote 0
                            • K
                              kejianshi
                              last edited by

                              Take the phone, grasp firmly in hand.  Move hand back as far as you can stretch then push forward suddenly and release…

                              1 Reply Last reply Reply Quote 0
                              • D
                                dhendriksen
                                last edited by

                                @kejianshi:

                                Take the phone, grasp firmly in hand.  Move hand back as far as you can stretch then push forward suddenly and release…

                                What's most frustrating is that it used to work great before the HDD in the PFSense failed.

                                Another frustrating this is that now, this morning, the VPN won't connect at all from phone. Before it would connect. Now the connection request just times out.

                                1 Reply Last reply Reply Quote 0
                                • D
                                  dhendriksen
                                  last edited by

                                  After a reboot of the phone (after reinstalling OpenVPN Connect and downloading a new client export) it connects again just fine.

                                  I can connect to the device I have at 192.168.1.201 in the web browser. I am ping 192.168.1.206 in the web browser. I cannot access 192.168.1.1 and the app on my phone that needs to connect to 192.168.1.206 can't see it.

                                  Any other thoughts from anybody? It used to work… That's what frustrated me the most, is that I know it CAN work.

                                  1 Reply Last reply Reply Quote 0
                                  • K
                                    kejianshi
                                    last edited by

                                    I'm still not happy that there is a 192.168.1.1 on your LAN…

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      dhendriksen
                                      last edited by

                                      @kejianshi:

                                      I'm still not happy that there is a 192.168.1.1 on your LAN…

                                      I promise I'll change that…I promise.

                                      I want to try a different OpenVPN client for Android. The other one I want to try is "Open VPN for Android". It is asking for a PKCS#12 file a .pfx or a .p12 extension. Any clue where I download that from? I tried the client export for OpenVPN Connect as well as for Android. Neither seem to satisfy what this app is looking for...

                                      1 Reply Last reply Reply Quote 0
                                      • D
                                        dhendriksen
                                        last edited by

                                        Seems that I have fixed it. I went in to the APN settings on my phone.

                                        IPv6 was selected. I changed it to IPv4. Works perfectly now.

                                        WOW….how frustrating this has been! Thanks to all for the assistance.

                                        I hope changing that setting doesn't have other unintended consequences.

                                        1 Reply Last reply Reply Quote 0
                                        • K
                                          kejianshi
                                          last edited by

                                          Hmmm.  Let me just tuck that bit of knowledge away fro future use.

                                          I have IPV6 in my Openvpn tunnel also, so I guess if it defaulted to IPV6 it wouldn't matter.

                                          How about your pfsense?  Pure IPV4?

                                          1 Reply Last reply Reply Quote 0
                                          • D
                                            dhendriksen
                                            last edited by

                                            @kejianshi:

                                            Hmmm.  Let me just tuck that bit of knowledge away fro future use.

                                            I have IPV6 in my Openvpn tunnel also, so I guess if it defaulted to IPV6 it wouldn't matter.

                                            How about your pfsense?  Pure IPV4?

                                            This likely won't surprise you, but I don't know about IPv6, other than the IP addresses are crazy long and complicated.

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