1. Download Windows Installer from
http://openvpn.net/index.php/download.html.
2. Install to terminal server. During installation tick too checks:
- openvpn-install.png (22.46 KiB) Viewed 31034 times
3. Run command line as administrator:
- v1.png (22.8 KiB) Viewed 31034 times
4. What should be entered is highlighted by red color:
- v2.png (83.63 KiB) Viewed 31034 times
5. Create configuration file "C:\Program Files (x86)\OpenVPN\config\wtware.ovpn" :
Code: Select all
dev tun
ca "C:/Program Files (x86)/OpenVPN/easy-rsa/keys/ca.crt"
cert "C:/Program Files (x86)/OpenVPN/easy-rsa/keys/server.crt"
key "C:/Program Files (x86)/OpenVPN/easy-rsa/keys/server.key"
dh "C:/Program Files (x86)/OpenVPN/easy-rsa/keys/dh1024.pem"
server 10.8.0.0 255.255.255.0
client-to-client
comp-lzo
For this configuration file terminal server IP will be IP 10.8.0.1. This IP you should specify in Wtware configuration file server= parameter. If terminal server has another IP, don't forget to turn on routing on server with openvpn and specify route to terminal on terminal server.
6. Run command line as administrator, type:
- openvpn-keygen.png (62.47 KiB) Viewed 31034 times
Red frame - the command to run.
Blue frame - this text is printed before terminal connects.
Green frame - this text is printed after terminal connects.
Items 1-6 you are to perform once, during server configuration. Then create keys for terminal. Make sure that terminal connects. Then restart server. Automatically during server boot openvpn service will start for every file with .ovpn extension from "C:\Program Files (x86)\OpenVPN\config\" directory.
You should create keys for every terminal connection. Every terminal has it's own personal keys. It's case sensitive! For example to create keys for terminal with 00.0C.29.DF.50.E3 MAC-address:
- openvpn-keygen.png (62.47 KiB) Viewed 31034 times
Ready THREE keys files:
You can find them in C:\Program Files (x86)\OpenVPN\easy-rsa\keys\
1. Download Windows Installer from http://openvpn.net/index.php/download.html.
2. Install to terminal server. During installation tick too checks:
[attachment=3]openvpn-install.png[/attachment]
3. Run command line as administrator:
[attachment=0]v1.png[/attachment]
4. What should be entered is highlighted by red color:
[attachment=1]v2.png[/attachment]
5. Create configuration file "C:\Program Files (x86)\OpenVPN\config\wtware.ovpn" :
[code]dev tun
ca "C:/Program Files (x86)/OpenVPN/easy-rsa/keys/ca.crt"
cert "C:/Program Files (x86)/OpenVPN/easy-rsa/keys/server.crt"
key "C:/Program Files (x86)/OpenVPN/easy-rsa/keys/server.key"
dh "C:/Program Files (x86)/OpenVPN/easy-rsa/keys/dh1024.pem"
server 10.8.0.0 255.255.255.0
client-to-client
comp-lzo
[/code]
For this configuration file terminal server IP will be IP 10.8.0.1. This IP you should specify in Wtware configuration file server= parameter. If terminal server has another IP, don't forget to turn on routing on server with openvpn and specify route to terminal on terminal server.
6. Run command line as administrator, type:[attachment=4]v4.png[/attachment]
Red frame - the command to run.
Blue frame - this text is printed before terminal connects.
Green frame - this text is printed after terminal connects.
Items 1-6 you are to perform once, during server configuration. Then create keys for terminal. Make sure that terminal connects. Then restart server. Automatically during server boot openvpn service will start for every file with .ovpn extension from "C:\Program Files (x86)\OpenVPN\config\" directory.
You should create keys for every terminal connection. Every terminal has it's own personal keys. It's case sensitive! For example to create keys for terminal with 00.0C.29.DF.50.E3 MAC-address:[attachment=4]openvpn-keygen.png[/attachment]
Ready THREE keys files:
[list]ca.crt[/list]
[list]00.0C.29.DF.50.E3.crt[/list]
[list]00.0C.29.DF.50.E3.key[/list]
You can find them in C:\Program Files (x86)\OpenVPN\easy-rsa\keys\