openwrt/ipv4: update for wireguard

This commit is contained in:
Nico Schottelius 2025-10-26 18:37:47 +01:00
commit 64b0ae77be

View file

@ -31,6 +31,9 @@ case $my_wireguard_ip in
185.155.30.*)
vpn_endpoint_pubkey="5ach7pUQ57aa402LHz1MYh7lyBZS0GvBEw2PC6dMHW4="
;;
147.78.195.*)
vpn_endpoint_pubkey="f4ssV9bO/Gv9oWIXDUTEY6lOCopwNvVI0++u7AgNTCs="
;;
*)
echo "Unknown VPN host for IP $my_wireguard_ip" >&2
exit 1
@ -45,8 +48,8 @@ set -x
opkg update
opkg install libustream-openssl ca-bundle ca-certificates
opkg install wireguard
opkg install luci-app-wireguard
opkg install wireguard-tools
opkg install luci-proto-wireguard
uci set network.${interface}=interface
uci set network.${interface}.proto='wireguard'