auth-user-pass-verify

Scripts to manage certificates or generate config files
Post Reply
ebaruk
OpenVpn Newbie
Posts: 1
Joined: Tue Jun 25, 2019 7:58 pm

auth-user-pass-verify

Post by ebaruk » Tue Jun 25, 2019 8:54 pm

Hi,

First of all I'm very new to all of this....So hope I will not get someone upset asking some what is not a challenge
for You guys...


I have set up server/client connection with use of easy-rsa...where server is my router (ER-6p).
It all works fine and is up to date to (no warnings..)

What I would like to do is to add additional verification with command: --auth-user-pass-verify
My problem is coz I don't know what I have to change on my server/router side if I want to use this option and most important thing is
what script should I use and where I can get this easiest way ?

My plan is to use existing CA certificate method + additional auth-user-pass-verify
What is the best way to realize this...If it makes any logic at all..

Image

My client configuration:

client
dev tun
proto udp
remote XXXXX 1194
float
comp-lzo yes
push "comp-lzo yes"
resolv-retry infinite
nobind
persist-key
persist-tun
verb 3
auth SHA256
cipher AES-256-CBC
ca ca.crt
cert client2.crt
key client2.key
auth-user-pass
auth-nocache
reneg-sec 7200

remote-cert-tls server
tls-auth ta.key 1

Post Reply