not getting "--setenv-safe" to work

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
fistus
OpenVpn Newbie
Posts: 8
Joined: Fri Feb 05, 2016 10:51 am

not getting "--setenv-safe" to work

Post by fistus » Fri Jul 07, 2017 12:46 pm

Hi,

I'm migrating our OVPN-Server from 2.2 to 2.4. Up to now, it was pushing "setenv-safe" like

--push "setenv-safe local_server_ip $local_server_ip"

But now, according to the manual a

--setenv-safe local_server_ip $local_server_ip

should do the job, but it does not. Is there a second option (security setting,...?) needed what I'm doing wrong?

Cheers

TinCanTech
OpenVPN Protagonist
Posts: 11137
Joined: Fri Jun 03, 2016 1:17 pm

Re: not getting "--setenv-safe" to work

Post by TinCanTech » Fri Jul 07, 2017 2:49 pm

The Manual wrote:This directive is designed to be pushed by the server to clients ..
It still requires --push "setenv-safe X Y" in order that it be pushed.

Post Reply