documentation:examples:gre_ipsec_and_openvpn
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
documentation:examples:gre_ipsec_and_openvpn [2020/01/13 14:19] – [Testing] olivier | documentation:examples:gre_ipsec_and_openvpn [2020/06/29 16:47] – [VM4: OpenVPN client] olivier | ||
---|---|---|---|
Line 1054: | Line 1054: | ||
passwd | passwd | ||
</ | </ | ||
- | ==== VM4: OpenVPN client ==== | ||
- | As OpenVPN | + | Now Generate |
- | * ca.crt | + | |
- | * VM4.crt | + | |
- | * VM4.key | + | |
- | On this lab, scp can be used for getting these files: | ||
< | < | ||
- | mkdir / | + | echo '< |
- | scp 10.0.23.2:/ | + | cat / |
- | scp 10.0.23.2:/ | + | echo '</ |
- | scp 10.0.23.2:/ | + | echo '< |
+ | cat / | ||
+ | echo '</ | ||
+ | echo '< | ||
+ | cat / | ||
+ | echo '</ | ||
</ | </ | ||
+ | ==== VM4: OpenVPN client ==== | ||
- | Configure openvpn as a client: | + | As OpenVPN |
+ | On this lab, scp can be used for getting these files: | ||
< | < | ||
- | cat > / | + | mkdir / |
- | client | + | scp 10.0.23.2:/ |
- | dev tun | + | |
- | remote | + | |
- | 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