b51dabd4239c9c969c10cfc8807b2990b121affc
howto/openvpn.md
| ... | ... | @@ -25,6 +25,12 @@ persist-key |
| 25 | 25 | persist-tun |
| 26 | 26 | ifconfig <LOCAL_GATEWAY_IP> <REMOTE_GATEWAY_IP> |
| 27 | 27 | secret /etc/openvpn/<PEER_NAME>.key |
| 28 | + |
|
| 29 | +# The secret can also be included inline with the config by wrapping it in <secret></secret> tags. |
|
| 30 | +# <secret> |
|
| 31 | +# ... Key File contents go here ... |
|
| 32 | +# </secret> |
|
| 33 | + |
|
| 28 | 34 | ``` |
| 29 | 35 | |
| 30 | 36 | then create a new key and share it with your peer |