flant / ovpn-admin

Simple web UI to manage OpenVPN users.
Apache License 2.0
1.39k stars 261 forks source link

"Converting the format from 'my_client.ovpn.txt' to 'my_client.ovpn'." #213

Closed rohamdousti closed 10 months ago

rohamdousti commented 1 year ago

How can I convert the output of "ovpn admin" from "my_client.ovpn.txt" to "my_client.ovpn"? Do you have any solution?

pashcovich commented 1 year ago

by default, this file has a name in the format $client_name.ovpn where did yo get .txt at the end?

rohamdousti commented 1 year ago

When I click the download config button, the txt extension is added

pashcovich commented 1 year ago

which version of ovpn-admin do you use, which OS and which browser?

IanWardell commented 1 year ago

When you press the download button on an android device you download as .txt not .ovpn for some reason. I noticed this on my phone.

MihanEntalpo commented 1 year ago

Android adds .txt to downloaded unknown text-like files by default. You should use some application to rename file from .ovpn.txt to .ovpn. By default you android should have a file management app, that allows such renaming.