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

    New OpenVPN setup for road-warriors - connected but no routing

    OpenVPN
    8
    55
    20.0k
    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.
    • C
      Cylindric
      last edited by

      Thanks. Tomorrow I'll probably delete all the settings and start from scratch - I made some wrong turns at the start that may be lingering.

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

        OK - This is broken.  Why is it set up as peer to peer now?

        Server mode (I suggest Remote Access. SSL/TLS)

        protocol UDP

        device mode TUN

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

          You don't need 2.1 to make it work…  Problem is peer to peer.  You don't want that.

          1 Reply Last reply Reply Quote 0
          • C
            Cylindric
            last edited by

            This is a bit odd. The server is set to "Remote Access (SSL/TLS + User Auth)", but the client is now set to Peer-to-peer, and the only options available are the two "peer to peer" ones.

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

              Recommendation - Delete the server and the client.

              Use the wizard and set it up again using TUN from the very beginning.

              It sounds big deal but should be a few minutes.

              I'm sure 2.1 works fine but 2.3 isn't broken either.

              You just got a bit twisted around.  Thats all.

              1 Reply Last reply Reply Quote 0
              • C
                Cylindric
                last edited by

                I'll try it again tomorrow - getting frazzled now :)

                Just deleted both configs, used the wizard to setup the server bit (seemed to create a tun setup anyway) but a new client still only allows server mode Peer to Peer.

                ovpn-client.png
                ovpn-client.png_thumb

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

                  Did you try shooting it with a 12 gauge shotgun?  (Teasing)

                  Thats odd.  I've never seen anything like that before.  It should allow you to configure remote access.  Thats very basic.

                  I wonder…  Do you have user accounts and certs set up on your pfsense other than Admin?  Because you need too.  It required.

                  If pfsense thinks there are no users and no user certs it might not present you remote access options.

                  I had assumed these road warriors of yours had limited user accounts installed on pfsense.

                  You can get away with creating just 1 user and one user cert and allowing multiple concurrent connections by that user, but its better to set up one user account per "road warrior".  You just go into system > user manager and add users, passwords and user certs.

                  Then you might have much better luck.

                  1 Reply Last reply Reply Quote 0
                  • C
                    Cylindric
                    last edited by

                    I do have a user I set up that I've been using for testing, and that's the one I've been using in the OpenVPN client downloader

                    user.png
                    user.png_thumb

                    1 Reply Last reply Reply Quote 0
                    • C
                      Cylindric
                      last edited by

                      Hang on, do I even need the "client" tab on the OpenVPN config? Going to try a manual approach as per: http://forum.pfsense.org/index.php?topic=22115.0

                      1 Reply Last reply Reply Quote 0
                      • C
                        Cylindric
                        last edited by

                        Getting the shotgun ready now. Just recreated everything manually, and no difference. VPN client connects fine, lights go green, routes are created, but nothing is passed.

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

                          When you want to connect a windows machine to a pfsense for the purposes of tunneling, its a server client relationship.  Not peer to peer.  I think just a straight up simple TUN tunnel is the way and those are made with wizard.

                          1 Reply Last reply Reply Quote 0
                          • C
                            Cylindric
                            last edited by

                            TUN is what I've been trying :(

                            I'm going to try it on a different remote computer, in case it's something wonky installed on my PC. Hopefully that's it, although it'll be annoying :)

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

                              I don't think thats it.  While you arwe doing that, I'm going to get some coffee and try to find why you are not getting anything other than "peer" as options.  Because thats not right.  Not on pfsense 2.03 for sure.

                              1 Reply Last reply Reply Quote 0
                              • C
                                Cylindric
                                last edited by

                                Gah, just installed the Android client on my phone and it seemed to work right off the bat. Going to try a different remote machine.

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

                                  hahahahahahahahahahahahah….  DAMN WINDOWS!!!!!!!

                                  (Still doesn't explain your limited tunnel options to me)

                                  1 Reply Last reply Reply Quote 0
                                  • C
                                    Cylindric
                                    last edited by

                                    Okay, so works on my Android phone and an Ubuntu VM I just spun up, but not on either of my Windows 8 computers. Guess there's something with the OpenVPN client on Windows 8…

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

                                      Windows 8 firewalls?
                                      Was the install ran as admin?

                                      Beyond that, I cant even imagine what.

                                      1 Reply Last reply Reply Quote 0
                                      • C
                                        Cylindric
                                        last edited by

                                        Well I'll be… Once I worked out it's a Windows 8 + OpenVPN problem, I had something to Google, and came upon this post by Luis Silva.

                                        You have to start the Network Connections service, which is normally set to "Manual", and only runs when the "network connections" dialog is open. Start that service, and the VPN client works!!

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

                                          Thank you for helping me with this problem.  I have learned something useful…

                                          (True statement - Although, wasn't it supposed to be the other way around!)

                                          Windows 8myopenvpn....

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

                                            I'd suggest a new thread on Windows 8myopenvpn….  actually.

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