pfsense as client gives setenv error

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
JimLS
OpenVpn Newbie
Posts: 3
Joined: Thu Apr 14, 2022 2:17 am

pfsense as client gives setenv error

Post by JimLS » Fri Aug 05, 2022 12:21 pm

Trying to set up pfsense for remote access to home network. Android phone connects (with admin account) but set up another user for pfsense client and it doesn't connect with this error. Used the ovpn "client import".

Options error: Unrecognized option or missing or extra parameter(s) in /var/etc/openvpn/client1/config.ovpn:33: setenv (2.6_git)

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1333
Joined: Tue Feb 16, 2021 10:41 am

Re: pfsense as client gives setenv error

Post by openvpn_inc » Sun Aug 07, 2022 11:57 am

Hi Jim,

You would have to show us line 33 of the /var/etc/openvpn/client1/config.ovpn file if you want help with this. The error says that you have a missing or extra parameter on your "setenv" line.

Also the topology is confusing. Are you saying that the pfsense is remote, trying to connect to a server at home?

regards, rob0
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply