# Configure truenas Core Open VPN client with pritunl server 

**URL:** <https://forum.pritunl.com/t/configure-truenas-core-open-vpn-client-with-pritunl-server/2913>\
**Category:** Pritunl VPN\
**Created:** [December 21, 2024, 6:24pm UTC](https://forum.pritunl.com/t/configure-truenas-core-open-vpn-client-with-pritunl-server/2913 "2024-12-21T18:24:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amishkaz](https://forum.pritunl.com/user_avatar/forum.pritunl.com/amishkaz/32/1135_2.png) [@Amishkaz](https://forum.pritunl.com/u/Amishkaz)\
**Post date:** [December 21, 2024, 6:24pm UTC](https://forum.pritunl.com/t/configure-truenas-core-open-vpn-client-with-pritunl-server/2913/1 "2024-12-21T18:24:28Z")

</div>

This thread is a guide to configure openvpn client in truenas core in order to connect to a pritunel vpn server.

Download the config file and follow the instructions from the below thread,

> **[TrueNAS and OpenVPN client configuration](https://www.truenas.com/community/resources/truenas-and-openvpn-client-configuration.158/)**
>
> Here is a short tutorial to configure the OpenVPN client on TrueNAS 12.0.
> 
> Prerequisite: an OpenVPN server running with a similar configuration:
> 
> 
> I'm sure other configurations work as well, but I haven't tried... And I'm not that experienced...

if you get the below error in your server log when connecting,

> Authenticate/Decrypt packet error: packet HMAC authentication failed

Do the following changes in step 3

for **additional parameter** add " key-direction 1 " and the tls-auth

then change the authentication algorithm you can find it in the config file

> auth SHA1

or just change the authentication algorithm to

> SHA1 (160 bit digest size)
