openwrt/ipv4: update for wireguard
This commit is contained in:
parent
5f1dedf89c
commit
64b0ae77be
1 changed files with 5 additions and 2 deletions
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue