diff --git a/openwrt/openwrt-add-ipv4-vpn.sh b/openwrt/openwrt-add-ipv4-vpn.sh index e81c98d..a43b548 100755 --- a/openwrt/openwrt-add-ipv4-vpn.sh +++ b/openwrt/openwrt-add-ipv4-vpn.sh @@ -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'