====== Installation sur OpenWRT ======
{{tag>Sécurité VPN Wireguard OpenWRT}}
À venir
===== Installation des paquets =====
==== Par la console ====
Depuis la console SSH
# opkg update
# opkg install kmod-wireguard luci-app-wireguard luci-proto-wireguard wireguard wireguard-tools
==== Par l'interface Web ====
===== Création des clés =====
mkdir -p /etc/wireguard
# wg genkey | tee /etc/wireguard/server-privatekey | wg pubkey > /etc/wireguard/server-publickey
# wg genkey | tee /etc/wireguard/client-privatekey | wg pubkey > /etc/wireguard/client-publickey
===== Liens =====
* [[https://blog.birkhoff.me/setting-up-a-wireguard-server-on-openwrt/|setting up a WireGuard server on OpenWRT]]
* [[https://danrl.com/blog/2017/luci-proto-wireguard/|how to configure WireGuard on OpenWrt/LEDE using LuCi]]