• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 463 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 Aug 4, 2022, 2:22 AM

    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 Aug 4, 2022, 10:05 AM Reply Quote 0
    • V
      viragomann @JimS
      last edited by Aug 4, 2022, 10:05 AM

      @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 Aug 4, 2022, 10:37 AM

        @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
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received