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

    OpenVPN fails to start when connecting to OpenVPN cloud server

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 514 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.
    • J
      JimS
      last edited by

      Set up server on OpenVPN cloud and Android phone connects but pfsense client fails. Used the import client for the ovpn file.

      Logs show:

      Aug 3 21:18:05 	php-fpm 	51096 	OpenVPN failed to start
      Aug 3 21:18:05 	php-fpm 	51096 	/status_services.php: The command '/usr/local/sbin/openvpn --config '/var/etc/openvpn/client1/config.ovpn'' returned exit code '1', the output was '' 
      
      Aug 3 21:18:05 	openvpn 	76096 	Options error: Unrecognized option or missing or extra parameter(s) in /var/etc/openvpn/client1/config.ovpn:33: setenv (2.6_git)
      
      Aug 3 06:16:17 	openvpn 	71422 	Options error: --proto tcp is ambiguous in this context. Please specify --proto tcp-server or --proto tcp-client 
      
      V J 2 Replies Last reply Reply Quote 0
      • V
        viragomann @JimS
        last edited by

        @jims
        Try to open the client settings in the webGUI, correct settings if anything odd and save it.

        1 Reply Last reply Reply Quote 0
        • J
          JimS @JimS
          last edited by

          @jims Thing is I don't know what might be odd because I have done little to none of this kind of thing before.

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