diff --git a/openwrt/openwrt-add-ipv4-vpn.sh b/openwrt/openwrt-add-ipv4-vpn.sh index c97050f..0b1f795 100755 --- a/openwrt/openwrt-add-ipv4-vpn.sh +++ b/openwrt/openwrt-add-ipv4-vpn.sh @@ -24,10 +24,10 @@ public_key=$(echo $private_key | wg pubkey) case $my_wireguard_ip in 185.155.29.*) - vpn_endpoint_pubkey=6BRnQ+dmeFzVCH9RbM1pbJ7u3y3qrl+zUzzYCmC88kE= + vpn_endpoint_pubkey="6BRnQ+dmeFzVCH9RbM1pbJ7u3y3qrl+zUzzYCmC88kE=" ;; 185.155.30.*) - vpn_endpoint_pubkey=5ach7pUQ57aa402LHz1MYh7lyBZS0GvBEw2PC6dMHW4= + vpn_endpoint_pubkey="5ach7pUQ57aa402LHz1MYh7lyBZS0GvBEw2PC6dMHW4=" ;; *) echo "Unknown VPN host for IP $my_wireguard_ip" >&2 @@ -77,4 +77,10 @@ uci commit EOF -echo "Host ${my_ip} uses ip ${my_wireguard_ip} with public key ${public_key}" +echo "Host ${my_ip} uses ip ${my_wireguard_ip} with public key ${public_key}:" + +cat <