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 revision | ||
documentation:examples:gre_ipsec_and_openvpn [2022/12/17 15:20] – [Testing] olivier | documentation:examples:gre_ipsec_and_openvpn [2023/07/10 12:40] (current) – [Router 4] olivier | ||
---|---|---|---|
Line 1322: | Line 1322: | ||
===== Wireguard ===== | ===== Wireguard ===== | ||
+ | On current (14.0) needs only wireguard-tools (kernel module included), on older (12 or 13) needs wireguard-kmod. | ||
==== Key pairs generation on VM2 and VM4 ==== | ==== Key pairs generation on VM2 and VM4 ==== | ||
Line 1350: | Line 1351: | ||
[Peer] | [Peer] | ||
PublicKey = o267Qf43WlVTawLq/ | PublicKey = o267Qf43WlVTawLq/ | ||
- | AllowedIPs = 10.0.45.0/ | + | AllowedIPs = 10.0.45.0/ |
Endpoint = 10.0.34.4: | Endpoint = 10.0.34.4: | ||
EOF | EOF | ||
sysrc wireguard_interfaces=wg0 | sysrc wireguard_interfaces=wg0 | ||
- | kldload if_wg | ||
service wireguard enable | service wireguard enable | ||
service wireguard start | service wireguard start | ||
Line 1374: | Line 1374: | ||
[Peer] | [Peer] | ||
PublicKey = z9wBhxr/ | PublicKey = z9wBhxr/ | ||
- | AllowedIPs = 10.0.12.0/ | + | AllowedIPs = 10.0.12.0/ |
Endpoint = 10.0.23.2: | Endpoint = 10.0.23.2: | ||
EOF | EOF |
documentation/examples/gre_ipsec_and_openvpn.1671286857.txt.gz · Last modified: 2022/12/17 15:20 by olivier