Line 31: |
Line 31: |
| ---- | | ---- |
| <ul> | | <ul> |
− | <li> When you locate the file, make a copy, rename it and place it in the '''''config''''' directory of the OpenVPN folder (default path: C:\Program Files\OpenVPN\config). You should also copy the certificates and keys to this directory (required files: '''''ca.crt''''', '''''server.crt''''', '''''server.key''''', '''''dh2048.pem'''''). | + | <li>When you locate the file, make a copy, rename it and place it in the '''''config''''' directory of the OpenVPN folder (default path: C:\Program Files\OpenVPN\config). You should also copy the certificates and keys to this directory (required files: '''''ca.crt''''', '''''server.crt''''', '''''server.key''''', '''''dh2048.pem'''''). |
| </li> | | </li> |
− | <li> | + | <li>Open the config file with a text editor. You can use the Notepad, but for editing configuration files we recommend using '''Notepad++''' for a better experience (you can download it from '''[https://notepad-plus-plus.org/download/v7.5.8.html here]'''). |
| + | </li> |
| + | <li>Locate the following lines: |
| + | <ul> |
| + | <pre>ca ca.crt |
| + | cert server.crt |
| + | key server.key |
| + | dh dh1024.pem |
| + | </pre> |
| + | </ul> |
| + | </li> |
| + | <li>Edit the lines in a way that corresponds with the actual file paths. The defaults used in this example are: |
| + | <ul> |
| + | <pre>ca "C:\\Program Files\\OpenVPN\\config\\ca.crt" |
| + | cert "C:\\Program Files\\OpenVPN\\config\\server.crt" |
| + | key "C:\\Program Files\\OpenVPN\\config\\server.key" |
| + | dh "C:\\Program Files\\OpenVPN\\config\\dh2048.pem" |
| + | </pre> |
| + | </ul> |
| + | '''NOTE''': Diffie Hellman parameters file name will depend on the key size that you specified in the ''vars.bat'' file. Don't forget to change it accordingly. |
| + | </li> |
| + | <li>Next comes the preferential |
| </li> | | </li> |
| </ul> | | </ul> |
Line 46: |
Line 67: |
| | | |
| * OpenVPN downloads: https://openvpn.net/index.php/open-source/downloads.html | | * OpenVPN downloads: https://openvpn.net/index.php/open-source/downloads.html |
| + | * Notepad++ downloads: https://notepad-plus-plus.org/download/v7.5.8.html |