OpenVPN
Static Key
Last Change : Mar 05 2008
Tool
Install
Ergonomy
Forum
Details
What is OpenVPN?
Screenshots
Prerequisites & Installation
Tutorial OpenVPN
-----SECURITY MODE-----------
Transparent Tunnel
Static key
SSL & PKI (certificates)
-----CASE STUDY-----------
IP VPN (TUN)
Ethernet VPN (TAP)
VPN Advanced Settings
----------------
Bridging
Routing
⚠️⚠️⚠️
Please check our website about
attractions in Western Switzerland !! (Please use english translation).
⚠️⚠️⚠️
Merci de consulter notre site sur les
activités à faire en Suisse romande !!
OpenVPN - Preshared or static keys
The preshared keys OpenVPN mode is easier to implement than the
SSL/TLS mode but with the following disadvantages:
- The shared secret is not renewed.
- The shared secret has be transported on the two peers.
- The VPN peers are not authenticated.
You can create a preshared key very easily with OpenVPN on any platform.
Once you have created a preshared key, you have to copy it onto the other OpenVPN
peer.
You should transmit it only via a secure media like SSH or
physically with a floppy disk or an USB key.
To create a key, proceed as follows:
On Linux:
##openvpn --genkey --secret /home/user/key.txt |
![]() |
![]() |