2025-01-26 01:04:36 +00:00
|
|
|
#!/bin/bash
|
2025-01-25 22:26:51 +00:00
|
|
|
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)"
|