openvpn username password auth

In your config you need to add

username-as-common-name
auth-user-pass-verify /etc/openvpn/verify.php via-file

Then create the file and paste in it

#Now add this code into the file
#!/usr/bin/php

Don’t forget to add users πŸ˜‰

echo „myfirstuser:password123“ > /etc/openvpn/users

Π‘ Π΅Ρ‚ΠΈΠΊΠ΅Ρ‚: , ,
ΠŸΡƒΠ±Π»ΠΈΠΊΡƒΠ²Π°Π½ΠΎ Π² linux

Π’Π°ΡˆΠΈΡΡ‚ ΠΊΠΎΠΌΠ΅Π½Ρ‚Π°Ρ€

Π’Π°ΡˆΠΈΡΡ‚ ΠΈΠΌΠ΅ΠΉΠ» адрСс няма Π΄Π° бъдС ΠΏΡƒΠ±Π»ΠΈΠΊΡƒΠ²Π°Π½. Π—Π°Π΄ΡŠΠ»ΠΆΠΈΡ‚Π΅Π»Π½ΠΈΡ‚Π΅ ΠΏΠΎΠ»Π΅Ρ‚Π° са отбСлязани с *

*