Notes
Notes - notes.io |
1. Выберите и скопируйте в C:Program FilesOpenVPNconfig конфигурацию openvpn
для автозапуска. Например C:Program FilesOpenVPNconfigFRSingle VPN FR1.ovpn
скопируйте в C:Program FilesOpenVPNconfigSingle VPN FR1.ovpn
Откройте этот файл, например блокнотом.
2. Измените строки
tls-auth ../ta.key 1
ca ../ca.crt
cert ../client.crt
key ../client.key
на
tls-auth "C:\Program Files\OpenVPN\config\ta.key" 1
ca "C:\Program Files\OpenVPN\config\ca.crt"
cert "C:\Program Files\OpenVPN\config\client.crt"
key "C:\Program Files\OpenVPN\config\client.key"
и
auth-user-pass
#auth-user-pass ../auth.txt
на
#auth-user-pass
auth-user-pass "C:\Program Files\OpenVPN\config\auth.txt"
И сохраните отредактированный файл
3. Откройте Панель управления - Администрирование - Службы
4. Найдите службу "OpenVPN Service" и откройте "Свойства"
5. Укажите тип запуска - Авто и нажмите Ok.
6. Перезапустите систему.
через bat-файл
1. Выберите и скопируйте в C:Program FilesOpenVPNconfig конфигурацию openvpn
для автозапуска. Например C:Program FilesOpenVPNconfigFRSingle VPN FR1.ovpn
скопируйте в C:Program FilesOpenVPNconfigSingle VPN FR1.ovpn
Откройте этот файл, например блокнотом.
2. Измените строки
tls-auth ../ta.key 1
ca ../ca.crt
cert ../client.crt
key ../client.key
на
tls-auth "C:\Program Files\OpenVPN\config\ta.key" 1
ca "C:\Program Files\OpenVPN\config\ca.crt"
cert "C:\Program Files\OpenVPN\config\client.crt"
key "C:\Program Files\OpenVPN\config\client.key"
и
auth-user-pass
#auth-user-pass ../auth.txt
на
#auth-user-pass
auth-user-pass "C:\Program Files\OpenVPN\config\auth.txt"
И сохраните отредактированный файл
3. Создайте файл openvpn_start.bat с содержанием:
openvpn --config "C:Program FilesOpenVPNconfigНазвание_Запускаемой_Конфигурации".ovpn
4. Поместите файл или ярлык на файл openvpn_start.bat в автозагрузку.
|
Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 12 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team