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

OpenVPN access for Ubuntu client

Scheduled Pinned Locked Moved OpenVPN
5 Posts 4 Posters 5.9k 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.
  • T
    tsjolie1
    last edited by Oct 8, 2014, 2:18 PM

    I'm new to pfsense and I'm just getting the hang of everything. I've got a desktop running pfsense in a virtual machine and that handles all the traffic for the house; we have OpenVPN setup and working on several windows machines for VPN access.
    For the windows clients, all I had to do was export the client executable and run that on the machine.
    For Ubuntu, I'm at a total loss. I've got the CA cert as well as the user cert/key, but I'm reading all different manner of things. Some forums are saying I need to edit the config file and some are saying I need a .p12 file.
    Any help would be appreciated!

    1 Reply Last reply Reply Quote 0
    • K
      kejianshi
      last edited by Oct 8, 2014, 2:35 PM

      Export a inline ovpn file the one for "other".

      Then take that and put it in a directory in you ubuntu home directory.

      Then in a command tool:

      sudo openvpn –config /home/yourhome/Downloads/exported-inline-openvpn-file.ovpn

      In this example, "yourhome" is name of your ubuntu home directory

      Obviously, in this example your exported inline openvpn file is just sitting in the Downloads directory.

      Later, you can put this command in a .sh file on your desktop, give execute permissions and just double click to execute it.

      Its super easy.

      1 Reply Last reply Reply Quote 0
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Oct 13, 2014, 7:57 PM

        If only the Ubuntu VPN GUI would let you feed it the config directly. It's nice to be able to use the GUI, but their OpenVPN GUI is … not fun.

        I know our GUI is limited when it comes to what you can do with OpenVPN but theirs even even more hobbled.

        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!

        1 Reply Last reply Reply Quote 0
        • P
          pszafer
          last edited by Oct 14, 2014, 8:37 AM

          For Ubuntu 14.04 (I'm using Gnome) the way to import OpenVPN is:

          • Export OpenVPN standard archive configuration

          • Import OpenVPN settings in Ubuntu

          • in password type you username password, also for certificate (I know it shouldn't be necessary but it is how GUI for OpenVPN in Ubuntu is written)

          • connect to vpn

          simple as that for me :)

          1 Reply Last reply Reply Quote 0
          • K
            kejianshi
            last edited by Oct 14, 2014, 9:41 AM

            I agree with you jimp.  The bad news is openvpn GUIs seem to all suck for me in linux.  The good news is once you figure it out, which isn't hard, vpn in linux is very reliable.  I'd say more than windows.

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