Command Line Approve Profile

This forum is for admins who are looking to build or expand their OpenVPN setup.

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
gmu3
OpenVpn Newbie
Posts: 1
Joined: Fri Aug 09, 2019 4:27 am

Command Line Approve Profile

Post by gmu3 » Fri Aug 09, 2019 4:37 am

How can I install OpenVPN and connect to a profile from the command line on Windows? I figured out how to connect using ovpncli.exe but the first time I run it I get a popup "Allow VPN connection to <IP> using UNVERIFIED profile?" and if I hit Yes it connects. I'm trying to automate this though; is there a way to avoid that popup and approve the profile from the command line.

Thanks!

Post Reply