OPNsense Forum

English Forums => General Discussion => Topic started by: elvinmammadov on February 22, 2024, 11:04:01 AM

Title: Openvpn asks for login & password often
Post by: elvinmammadov on February 22, 2024, 11:04:01 AM
Hello. I am using the Opnvpn server in Opnsense. The Opnsense version and Openvpn Windows client are in the latest version. Openvpn works fine, but it asks for login & password often, however the credentials are already saved. Internet connection is stable. Does someone have this problem? Is it related to Opnvpn configuration in Opnsense or something should change in vpn config file? Thanks.
Title: Re: Openvpn asks for login & password often
Post by: bartjsmit on February 22, 2024, 01:58:10 PM
Do you have these lines in your client config?

persist-tun
persist-key
Title: Re: Openvpn asks for login & password often
Post by: elvinmammadov on February 22, 2024, 02:31:56 PM
yes, these lines exist in the config file.
Title: Re: Openvpn asks for login & password often
Post by: elvinmammadov on February 26, 2024, 02:12:28 PM
It asks almost in 15 minutes, then connects by itself.