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

    Problem connecting pfsense 2.5 to OpenVPN AS Server

    Scheduled Pinned Locked Moved OpenVPN
    3 Posts 2 Posters 547 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.
    • C
      cybero2912
      last edited by

      Hello,
      I am trying to connect from my pfsense to an OpenVPN Access Server. I downloaded the autologin profile for a user and was able to connect to the server successfully from my VPN client.
      To setup this connection in my pfsense I opened the .ovpn with an editor, created new CA and Cert and setup new client connection using tls key from .ovpn.
      The config is very similar to this example

      Connection is not successfully and in server log I see TLS errors:

      2020-10-29T17:20:58+0100 [stdout#info] [OVPN 2] OUT: 'Thu Oct 29 16:20:58 2020 Authenticate/Decrypt packet error: packet HMAC authentication failed'
      2020-10-29T17:20:58+0100 [stdout#info] [OVPN 2] OUT: 'Thu Oct 29 16:20:58 2020 TLS Error: incoming packet authentication failed from [AF_INET]91.xx.xxx.xxx:1195'
      

      I sware I made no c&p failures during config creation.

      Greetings from Berlin
      Robert

      1 Reply Last reply Reply Quote 0
      • kiokomanK
        kiokoman LAYER 8
        last edited by kiokoman

        more log output is needed
        udp or tcp
        key-direction
        wrong cipher
        wrong ca/cert

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

        C 1 Reply Last reply Reply Quote 0
        • C
          cybero2912 @kiokoman
          last edited by

          @kiokoman said in Problem connecting pfsense 2.5 to OpenVPN AS Server:

          more log output is needed
          I can post log from pfsense - which loglevel is needed?
          udp or tcp
          udp
          key-direction
          pfsense is client = key direction 1 and openvpn as is server = direction 0
          wrong cipher
          not that I know - used cipher AES-256-CBC
          wrong ca/cert
          no, tripple checked and the .ovpn file where ca, cert and key was taken from working fine with my vpn client

          regards Robert

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