| 101 | === Server Config File === |
| 102 | 1. Open server.ovpn |
| 103 | |
| 104 | 2. Find the following lines: |
| 105 | {{{ |
| 106 | ca ca.crt |
| 107 | cert server.crt |
| 108 | key server.key |
| 109 | }}} |
| 110 | {{{ |
| 111 | dh dh1024.pem |
| 112 | }}} |
| 113 | |
| 114 | 3. Edit them as follows: |
| 115 | {{{ |
| 116 | ca "C:\\Program Files\\OpenVPN\\config\\ca.crt" |
| 117 | cert "C:\\Program Files\\OpenVPN\\config\\server.crt" |
| 118 | key "C:\\Program Files\\OpenVPN\\config\\server.key" |
| 119 | }}} |
| 120 | {{{ |
| 121 | dh "C:\\Program Files\\OpenVPN\\config\\dh1024.pem" |
| 122 | }}} |
| 123 | |
| 124 | 4. Save the file as C:\Program Files\OpenVPN\config\server.ovpn |
| 125 | |
| 126 | === Client Config Files === |
| 127 | This is similar to the server |
| 128 | |
102 | | 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") |
| 130 | |
| 131 | == Port Forwarding == |
| 132 | |
| 133 | If your server is behind a router, you will need to forward the port chosen for OpenVPN (in this example UDP 1194) to the server. Consult your router's documentation for details on this. |
| 134 | |
| 135 | To set up port forwarding, you will likely need to set up the server with a static local IP address instead of the default dynamic (changing) IP. Instructions for Windows XP may be found [http://www.ehow.com/how_4393725_static-ip-address-win-xp.html here]. Make sure to choose a static IP address that is not in the range your router might assign as a dynamic IP. |
| 136 | |
| 137 | == Static Internet IP == |
| 138 | |
| 139 | Your server will need to have a static internet IP or Domain Name 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. When signing up you will determine the static DNS of your server. (For example, "myserver.dyndns.org") |