documentation:examples:gre_ipsec_and_openvpn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
documentation:examples:gre_ipsec_and_openvpn [2020/06/29 16:45] – [VM2: OpenVPN server] olivier | documentation:examples:gre_ipsec_and_openvpn [2020/06/29 16:47] – [VM4: OpenVPN client] olivier | ||
---|---|---|---|
Line 1070: | Line 1070: | ||
==== VM4: OpenVPN client ==== | ==== VM4: OpenVPN client ==== | ||
- | As OpenVPN client, VM4 should get these files from VM2 and put them in / | + | As OpenVPN client, VM4 should get its openvpn configuration file (that embedded certificate and key) from VM2 and put them in / |
- | * ca.crt | + | |
- | * VM4.crt | + | |
- | * VM4.key | + | |
On this lab, scp can be used for getting these files: | On this lab, scp can be used for getting these files: | ||
< | < | ||
mkdir / | mkdir / | ||
- | scp 10.0.23.2:/ | + | scp 10.0.23.2:/ |
- | scp 10.0.23.2:/usr/ | + | |
- | scp 10.0.23.2:/usr/ | + | |
</ | </ | ||
- | Configure openvpn as a client: | ||
- | |||
- | < | ||
- | cat > / | ||
- | client | ||
- | dev tun | ||
- | remote 10.0.23.2 | ||
- | ca ca.crt | ||
- | cert VM4.crt | ||
- | key VM4.key | ||
- | ' | ||
- | </ | ||
Enable and start openvpn: | Enable and start openvpn: |
documentation/examples/gre_ipsec_and_openvpn.txt · Last modified: 2023/07/10 12:40 by olivier