Hi
I'm looking for a way to make .OVPN config name as an authentication method.
like, for instance:
The main config is "New York-TCP.ovpn" (and it's without a user and password).
I want that if the name changed to "New York.ovpn", the config would stops working and refuse to connect.
So,
is there a way to authenticate the file name by adding a line to the .ovpn config?
Thanks for your help
File name as an AUTHENTICATION method
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Apr 06, 2022 9:28 pm
- imjebran
- OpenVPN Power User
- Posts: 75
- Joined: Tue Jul 03, 2012 10:38 am
Re: File name as an AUTHENTICATION method
Hello,
Renaming or coming OpenVPN conf is very common, this shouldn't impact any of the parameters that have been mentioned in a config file.
You simply have to copy the current config file with a new name and correct config extension.
On which OS you are connecting to the server?
Regards.
Renaming or coming OpenVPN conf is very common, this shouldn't impact any of the parameters that have been mentioned in a config file.
You simply have to copy the current config file with a new name and correct config extension.
On which OS you are connecting to the server?
Regards.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Apr 06, 2022 9:28 pm
Re: File name as an AUTHENTICATION method
Well, I'm using OpenVPN profiles on Android, so a name-based authentication would be ideal.
Is there a way to make OVPN profile authenticate the file name before connecting by adding a line to the.ovpn config?
People usually don't spend a lot of time on the config by copying it to their PC and copy everything aside from the auth line codes, but it's super easy for them to change the file name.
I'm publishing my OpenVPN configs to a Telegram group for people in Iran (usually normal VPNs don't work there, so we mostly use OpenVPN) and that's why authentication with file name is important for me, so others can't remove my channel id from the file name and my channel gets some support.
As a result, I'm looking for a method to use file name as an authentication method.
Thank you for your assistance.
Is there a way to make OVPN profile authenticate the file name before connecting by adding a line to the.ovpn config?
People usually don't spend a lot of time on the config by copying it to their PC and copy everything aside from the auth line codes, but it's super easy for them to change the file name.
I'm publishing my OpenVPN configs to a Telegram group for people in Iran (usually normal VPNs don't work there, so we mostly use OpenVPN) and that's why authentication with file name is important for me, so others can't remove my channel id from the file name and my channel gets some support.
As a result, I'm looking for a method to use file name as an authentication method.
Thank you for your assistance.
-
- OpenVpn Newbie
- Posts: 3
- Joined: Wed Apr 06, 2022 9:28 pm
Re: File name as an AUTHENTICATION method
Any help with my problem?