| 19 | |
| 20 | 2. Enter the following to initialize the OpenVPN configuration. |
| 21 | {{{ |
| 22 | init-config |
| 23 | }}} |
| 24 | * NOTE: Only run init-config once, during installation. |
| 25 | 3. Enter the following to open the vars.bat file in a text editor: |
| 26 | {{{ |
| 27 | notepad vars.bat |
| 28 | }}} |
| 29 | 4. Edit the following lines in vars.bat, replacing "US", "CA," etc. with your company's information: |
| 30 | {{{ |
| 31 | set KEY_COUNTRY=US |
| 32 | set KEY_PROVINCE=CA |
| 33 | set KEY_CITY=SanFrancisco |
| 34 | set KEY_ORG=OpenVPN |
| 35 | set KEY_EMAIL=mail@host.domain |
| 36 | }}} |
| 37 | 5. Save the file and exit notepad. |
| 38 | |
| 39 | |
| 40 | == Further Considerations / Troubleshoting == |
| 41 | Your server will need to have a static IP or DNS to be accessible over the long term. One solution is to sign up for an account with DynDNS and install the DynDNS Updater on your server. This account will determine the static DNS of your server. (For example, "myserver.dyndns.org") |