[Solved] Whats the best way to format your ovpn file?

Scripts to manage certificates or generate config files
Post Reply
aboka
OpenVPN User
Posts: 27
Joined: Thu Jul 02, 2020 10:28 am

[Solved] Whats the best way to format your ovpn file?

Post by aboka » Thu Jul 02, 2020 10:41 am

:idea: hi, i just install OpenVPN on a Ubuntu vps and all working fine. but i would like to ask(since couldn't find it online), how could we format and make the client ovpn file more readable? i did not create the ovpn file myself, i just download it from the server and its all 'scramble' and so hard to read or change anything.

thank you,

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7812
Joined: Fri Jun 03, 2016 1:17 pm

Re: Whats the best way to format your ovpn file?

Post by TinCanTech » Thu Jul 02, 2020 12:19 pm

That is the format.
aboka wrote:
Thu Jul 02, 2020 10:41 am
i did not create the ovpn file myself, i just download it from the server
Then do not change it .... :roll:

aboka
OpenVPN User
Posts: 27
Joined: Thu Jul 02, 2020 10:28 am

Re: Whats the best way to format your ovpn file?

Post by aboka » Thu Jul 02, 2020 12:24 pm

TinCanTech wrote:
Thu Jul 02, 2020 12:19 pm
That is the format.
aboka wrote:
Thu Jul 02, 2020 10:41 am
i did not create the ovpn file myself, i just download it from the server
Then do not change it .... :roll:
well, we like to learn about the different options it offer. so we need to add/edit to it to test now and then. thanks for your input.

p/s - the only way we know is do it manually once and save it as template and use for future. but would like to know if there a better way.

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7812
Joined: Fri Jun 03, 2016 1:17 pm

Re: Whats the best way to format your ovpn file?

Post by TinCanTech » Thu Jul 02, 2020 12:35 pm

Just open it in Word and go nuts ...

aboka
OpenVPN User
Posts: 27
Joined: Thu Jul 02, 2020 10:28 am

Re: Whats the best way to format your ovpn file?

Post by aboka » Thu Jul 02, 2020 12:44 pm

TinCanTech wrote:
Thu Jul 02, 2020 12:35 pm
Just open it in Word and go nuts ...
Wow coo!! It looks all line up and perfect. Thanks a lot man. Hv been trying to fix this 'issue' for a long time :)

aboka
OpenVPN User
Posts: 27
Joined: Thu Jul 02, 2020 10:28 am

Re: Whats the best way to format your ovpn file?

Post by aboka » Thu Jul 02, 2020 12:47 pm

p/s - any way we could choose which reply is the Solution or give a Like? or an option to change thread status to Close/Solved? couldn't find it anywhere :/

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7812
Joined: Fri Jun 03, 2016 1:17 pm

Re: [Solved] Whats the best way to format your ovpn file?

Post by TinCanTech » Thu Jul 02, 2020 1:10 pm

Now try opening it with openvpn ...

aboka
OpenVPN User
Posts: 27
Joined: Thu Jul 02, 2020 10:28 am

Re: [Solved] Whats the best way to format your ovpn file?

Post by aboka » Thu Jul 02, 2020 1:22 pm

TinCanTech wrote:
Thu Jul 02, 2020 1:10 pm
Now try opening it with openvpn ...
hi, just tried open another 'larger' ovpn file(generated using Softether) and it doesn't look perfect as some line looks too long and drop to the lower line and looks like it might cause issue when open with OpenVPN. but it looks much better than the original 'scramble'. so i thought of saving it then open up in OpenVPN to edit the few 'errors'. but voila, all of them align perfectly again when open in OpenVPN(Edit Config) and it connects :lol:

Thank you very much~!

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7812
Joined: Fri Jun 03, 2016 1:17 pm

Re: [Solved] Whats the best way to format your ovpn file?

Post by TinCanTech » Fri Jul 03, 2020 12:38 am

aboka wrote:
Thu Jul 02, 2020 1:22 pm
just tried open another 'larger' ovpn file(generated using Softether)
this thread is of zero value to anybody ... :ugeek:

marking as solved is nothing more than click-bait

Openvpn administration would be exposing their disdain for the Users to leave this thread as-is

but this would not be unusual ....


Vote Trump, while you still have the choice.

aboka
OpenVPN User
Posts: 27
Joined: Thu Jul 02, 2020 10:28 am

Re: [Solved] Whats the best way to format your ovpn file?

Post by aboka » Fri Jul 03, 2020 4:12 am

i beg to differ rgd its useless-ness. as like i mention earlier, i hv been hving this issue for years. and i do believe lots of other hv the same issue as ppl tend to use a text-editor to open up this type of files - out of curiosity mostly(?). but perhaps it is non critical and most ppl will not bother since their main priority is the vpn is working and no need to edit the file :)

cheers,

User avatar
TinCanTech
OpenVPN Protagonist
Posts: 7812
Joined: Fri Jun 03, 2016 1:17 pm

Re: [Solved] Whats the best way to format your ovpn file?

Post by TinCanTech » Fri Jul 03, 2020 12:44 pm

aboka wrote:
Fri Jul 03, 2020 4:12 am
i beg to differ rgd its useless-ness. as like i mention earlier, i hv been hving this issue for years
Re-he-he-he-heally .... :shock:

Post Reply