4 lines
199 B
Text
4 lines
199 B
Text
|
#!/bin/sh
|
||
|
set -x && \
|
||
|
source /usr/local/bin/mkpeerkey.sh && \
|
||
|
echo "AS 4242422002 llv6 {{ llv6 }} wgkey $(cat /etc/systemd/network/$1.pub) IPv4 $(curl -4s api.ipify.io) IPv6 $(curl -6s api.ipify.io)"
|