[root@riyimei ~]# kubectl -n wireguard logs wireguard
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 01-envfile: executing...
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing...
-------------------------------------
_ ()
| | ___ _ __
| | / __| | | / \
| | \__ \ | | | () |
|_| |___/ |_| \__/
Brought to you by linuxserver.io
-------------------------------------
To support the app dev(s) visit:
WireGuard: https://www.wireguard.com/donations/
To support LSIO projects visit:
https://www.linuxserver.io/donate/
-------------------------------------
GID/UID
-------------------------------------
User uid: 1000
User gid: 1000
-------------------------------------
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing...
Uname info: Linux wireguard 5.13.0-1.el7.elrepo.x86_64 #1 SMP Sun Jun 27 19:45:23 EDT 2021 x86_64 x86_64 x86_64 GNU/Linux
**** It seems the wireguard module is already active. Skipping kernel header install and module compilation. ****
**** Server mode is selected ****
**** SERVERURL var is either not set or is set to "auto", setting external IP to auto detected value of 120.85.164.202 ****
**** External server port is set to 31820. Make sure that port is properly forwarded to port 51820 inside this container ****
**** Internal subnet is set to 192.168.20.0 ****
**** AllowedIPs for peers 0.0.0.0/0, ::/0 ****
**** Peer DNS servers will be set to 169.254.25.10 ****
**** No wg0.conf found (maybe an initial install), generating 1 server and 3 peer/client confs ****
grep: /config/peer*/*.conf: No such file or directory
PEER 1 QR code:
█████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████
████ ▄▄▄▄▄ █ ▄█▀ ▀ ▄█ ▀▄█▄▄▀ █▀▄██▄▀████▀ ▄█▄▄▄█▀▄ ██ ▄▄▄▄▄ ████
████ █ █ █ ▄█▀▄ █▀ ▄ █▀█ ▄▄▄▄ ▀▀▀▀▀█ ▀█ ▀█ ▄▄▄ ██ █ █ ████
████ █▄▄▄█ █▀ ▄▀▄▄▄ ▄▄ ▄ █ ▄▄▄ ▄█▄▄▀ █▀▀██▀▀▄▀▄██ █▄▄▄█ ████
████▄▄▄▄▄▄▄█▄█ █▄█ █▄▀ █▄▀▄█ █ █▄█ █▄█▄█▄█ █ ▀ █ ▀▄▀ █▄▄▄▄▄▄▄████
████▄ ▀█▄ ▄▀█▀▄██ █▀▄█ ██▄█▀▄▄ ▄ ▀▀█ ▀▀▀▀█▀█ ▄▀▀▀▀▀▄▀▄▄ ████
████ █▀ ▄█ ▀█▄▄▀█▄▄▀ ▀ ▀▄▀▄▄ ▄ ▀▄▄ ▀█ ▀ ▀ ██▀ ▄▀▀▀▀ ██▄█ ████
███████▀█ ▄ ▄▀▀▄ ▄ ▀█▄▀▀████ ██▄▄██ ██ █▀▀▄▄▀▄▄▀▄█ █▄▀▀▄▀█████
█████▀▄▄▄▀▄▀ █ ▀█ ▄▀ ▀▀ ▄█▀▄██▀▀▀▄▀▄▄▄▄ ▄█ ▀█▄ ▄▀▄▄█▀█ ▄▄▀█▄████
████▄█▄ █▄▄▀ ▄██ ▀██▄▄ ▀█▄█ ▄ █ ▀ ▀▀▄▀ █▀ █▀▀▄ ▄ █ ▀▄▀▀████
████▀██▀ █▄▀▀█▄▀▄▄ ▀█ █▀ ▄▀▀█▄ █▄▄▄▀▄▀▀▄▀▀▀ ▀▀ ▄█▄▀ █ ▀█▀████
████ ▄█▄▀ ▄ █▄ ▄█▀▀▄█▀█▄▄█ ▀▄ ▄▀▀█▀▄ █▄▀ █ ██▀█ █▀▀▀▄▀█▀▀▀▄▀████
████▀█▀ ▄ ▀█▄▀▀▄█▀ ▀ ▀ ▀█▀ ▄▄ ▀ ▄▄ ▄███ █ █▄█▄█▄▀▀ █ █ █████
████▄▄ ██▄▀ ▀▄▀▀ ▀▀▄█▄█▄███▄ █▀██▄███▄▄██▄█▄ ▀ ▀▀▄▄ ███▄▀ ████
████ █▀▀ ▄▄▄ ██▀▄ █▄▄█▄▀ ▄ ▀█ ▄▄▄ █▄ ▄ ▀▄█ ▄ █▄█ ▀ ▄▄▄ ██ ▄████
█████▄▄▀ █▄█ ▀ ██▀▀ ▀▄█▄██ █▄█ █▄▀▄ ▀▀▀█▀█ █▀ █▄█ ▀█▀▀████
████▄▀██ ▄▄ █ ▄▀█▄▀▄▀▄▄▄ ██▄▀▄▄ ▄▄ ▄█▀▀▀ ██ ▄▀▄█▀ ▄▄▄▄▀▄█▀████
█████▀▀▀█▀▄ ▄██ █ ▀▀▄█ ▀▄█▀█▄▄▀▄▄▀▄█▀▄█▀▀ ▄▄▀ █ ▀███▀▀ ▄▀▄ █████
█████ ▄▄▀█▄█ █ ▀█▄█ █ ▀▄▀▄ ▀▄▀▄ █▄█▄▄█▄█ █▀ ▀▄▀▄█▄█▄██ ▄▄█▀████
██████▄▄▀▀▄▄▀▄▀▀ ▄ ▀▀ ▀ ▀██▄▀ ██▄█▀▄▀██ █▀ ▄▀▄▄▄█▄ █ ▄▀ █ ████
████▄█▀██▄▄▀▄▄▄▀ ▄▄▄██▀▄█▀█▄ █▄▄ ▄▄▄▄▄▄█▀▀▄▀ ▄██ ▀▄█▄ █ ▀ ██████
████▄▄███ ▄ ▄ ██ ██ ██▄ █ ▀▀ ▀█ ▄ ▄▀ █▄█ █ ▄▀█▀██▄ ▀█▀█ ▄████
████▀█ ▀▄▀▄▄█▄ ▄ ▀ ▄▀ ▀▄ ▄▀██▄▄ █▄ ▄█ ▄▄▀█▀█▀▀█▄▀▀ ▄▄▀█████
█████▀ ██▀▄ █ ▀▄▄█▄██▄▀ ▄███ ██▀█▄▄▄▄ █▀▄▄█ █▄ ▄█▀█ ██ █▀█████
████ ▀ ▀▀▄▄▀ ▀▀▄ ▀▀ ▄▀▀ █▄█ █▄▀ ▄█▄▄▄▀▄ ▀▀█ ▄█▄▀█▀██ ███ ▀████
██████████▄█ ▄ ▄ ▀██▀█▀ ▀▄ █ ▄ ▄▄▄ █ ██▄▀█▄▀▄▀██ ▀ ▄▄▄ ██ █████
████ ▄▄▄▄▄ █▀▄ ▀▄▀ ▄ ▀ █▄▄██ █▄█ ▄█▄▄█▄▀▄▄▀ ▀ ▄▀▀ █▄█ ▀ ▄████
████ █ █ █▄ ▄▄ ▀▄██▀▄▄▄ █▄▀▄▄ ▄▄ ▄▄█▀▀▄▀██▄ ▀ ███ ▄▄▄ ▀▀▀▀████
████ █▄▄▄█ █▀▄ ▄▄▀ ▀ ▄█▀ ▀▀▄ ▄▀ ▀▀ █▄ ██▄█▀ ▄▄▄▀▄ ██▄▀▀ ███████
████▄▄▄▄▄▄▄█▄▄▄█▄▄███▄▄▄█████▄█▄▄█▄▄▄██▄▄█▄▄▄▄█▄▄██▄█▄▄▄██▄█▄████
█████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████
PEER 2 QR code:
█████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████
████ ▄▄▄▄▄ █ ▀█▄█▄▄▀ ▄▄▀ ▄▄█▀▄▀ █▄▀ █▄▄▄▀█▄█▄█▀▄ ▄ ██ ▄▄▄▄▄ ████
████ █ █ ██ ▀██▀▄██▄█ ██▀█▄██ ▄█ █▀▄ ▄▀█▀▄▀▀█ ▄ ██ █ █ ████
████ █▄▄▄█ █ █▀▄▄ █▀▀ ▄█▀▄▄▄ ▄▄▄ ▀██ █▄▀ ▄▀███▀▄██ █▄▄▄█ ████
████▄▄▄▄▄▄▄█ █▄▀▄█ ▀ █ █▄█ ▀ █ █▄█ █▄▀ ▀▄█ ▀▄█ █ █ █ █▄▄▄▄▄▄▄████
████ ▄▄█▀▄▄▀▄ ▄ ▄▄▄ █▀▄▀▄█▄█ ▄ ▄▄▄ ▄▄██ ▄█▀▄█ █ ▄▄█▀▄▄████
████▀▀▄███▄██▀▄ ▄ █▀ ▀▄█ ██▄ ▄ ██▄▄█▄▀ ▄█▄▄▄ ▄ █ █▀▀█▄▀████
████▀▀█▄▄▀▄ ▀█▄ ▄ ▄███▀▄▄▄▄▄▀▄██▀▀▄▄▄▀▄▀█ ███ █▄▄▄▀█ █▀████
████ ▀▄ █▄ ▀▀▄█▄▀██▄▄█▀█▀▄ ▄▄ ██ ██ ▄█▄▀█▀ ██▄ ▀ ▄▀▄ ▀ ▄█████
████ ▀▄▄▄█▄█▄█▄▄▄█▀ ▀▄▀ █ ▄█ ▄▀▀▄▄▄▄▀ ▀██ ▀▀ █▀ █▄ ▄▄▀ █▀████
████▀▄▄ ▄▀▄ ▀ ███▀ ▄▄▄ ▄ █ ▄█▄▀ ██ ███ █▄▄▀ ▀ ▀▄▄▄▄ ▄▀████
████ ▀▀█▄ ▄▄▀█▀▄▀███▄ ▀ ▄▀ ▄ ▄█ ▄▄█ ▄▀▄▀▄▄█▀▄▄ █ █▄ █▀█████
████ ▄ ▄ █▄▀▄ ▄█ ▀█▄█▀ ▀█▀█▀██▄█▄▀██▄ ▀▄▄▀▀▄▄▄█▄ ▀ ▀▄█▄▄▀▄████
████ ▄▀▄▄▄▀ █ ▀ ▄█ █▀ ▀█▄▄▀ ▄▄ ▄▀ ▀▄▄█ ▀▀█▄█▄█▄▀ ▄█▀▄▄ ▄ █▄████
████▀▄ █ ▄▄▄ █▀▄█▄█▀ ▄█ ▄ ▄ ▄ ▄▄▄ ▄█▄ ▄ █▄▄ ▄▄█▄▄█ ▄▄▄ ▀▄▀█████
████▀ ▀▄ █▄█ ▄▀▄██▄ ▄█ ▄█▄▀▄ █▄█ ▀ █▀███▄ ▄▄▄▄▀▄█ █▄█ ▄▀██████
████▀█ ▀▄▄▄ ▀▄ ▄██ █▀██▀▀▀█ ▄ ▄▄▄█▀ ▀█ ▀▄▀▀██▄ ▀█ ▄ ▀ ▄ ████
████ █▀▀▄ ▄ ▀█▄▄▄▀▄ ▄█▀ ▄▄▄ █ ███ ▀ █▄██▄▄ ▀ █▀▄ ▄▀██▀█ ▄▀████
█████▄▄▄█▀▄ ▄▀▄▀ ▄█▀▄▄ ▀ █▄ ██ ▄▄█▄ ▀█▄▀ █▄▀█ ▀ ▄█▄▀▄ ██▀████
████▄ █ ▄ ██ █▀ ▄ ▀▄█▄ ▄▄ █▄▄▄█▀█ ▄▄▄▄▀ ▀▀ █ ██▄ ▄▀▀█ ▄▀█████
█████▄ ▀▀ ▄ █ █▄▄█ ▀▀ █▄█▀ ▀▀▄ ▄███ ▄ █▄█▄▄▄█ ▄█▀▀▄█▀▄▄████
████ ▀▄▄▄▄▄ ▄▀▄▀ ▄▀▄▀ ▄▄▀ █▄▄ ▄▀ ▄▄▀█ ▄▀ ▄▀▄▄ █▄ ▄▀ ▄ ▄ ▀▄ ████
████ ▄▀█ ▄▄█▄▀██▄ ▄ █▀ █▄▄ ▄▄ ▄▄█▀▄▄▄▀█▄▄ ▄ ▀█▀▄█ █▄ █ ▄████
████▀█▄█▄▀▄▀ ▄█ ▀█▄▄██▄ ▄▄▄▄▀▀ ▄█ ▀▄ ▀▀▄█▄ ▀ ▄██▀█ ██▀█▀████
████ ▀ ▀▀▄▄█▄██ ▀ ▄▄█▀ ▄▀ ▄▀▄ █▄█▄█ ██▀ ██ ██▄ ▀▀ █▀ ▀ ▀ ████
██████████▄█ █▀█▄█▀▄▀█▀▄ █▀▄▄ ▄▄▄ ▄▄▄▀▄▀ █ ▄██ ▄▀█ ▄▄▄ ▄ ▄▀████
████ ▄▄▄▄▄ █▀ ▄▄ █ ▀ ▄▀ ▀ ▄▄ █▄█ █▄ ▀█ █ █▄▀ ▀ ▄█ █▄█ █▀ ████
████ █ █ ██▀▀ ▀▄██▄▄█ █▀▄ █ ▄ ▄ ▄ █▄ █ █▄▄█▄█▄▄▄▄▄ ▄ █▄█████
████ █▄▄▄█ █ ▀ ▀▄█▄ ▄ ▀██ ▀█ ▄██▀▄█▄▀▀█▄ ▄▄ ██ ▄▀▄█ █▄▄▄▄▄████
████▄▄▄▄▄▄▄█▄▄▄████▄▄█▄▄█▄▄▄█▄███▄▄▄▄▄▄█▄█▄████▄▄▄▄██▄▄█▄▄▄█▄████
█████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████
PEER 3 QR code:
█████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████
████ ▄▄▄▄▄ █ ▄█▀ ▀███ ███▄▄ █▀▄██▄▀████▀ ▄██▀ █▀▄ ██ ▄▄▄▄▄ ████
████ █ █ █ ▄█▀▄ █ ▀ ▄▀▄▀█▀▄▄▄▄ ▀▀▀▀▀█ ▀█ ▀█ ▄▄▄ ██ █ █ ████
████ █▄▄▄█ █▀ ▀█▄▄▄ ▄▄ ▄ █ ▄▄▄ ▄█▄▄█▄ █▀▀██▀▀▄▀▄██ █▄▄▄█ ████
████▄▄▄▄▄▄▄█▄█▄█▄█ █▄▀ █▄▀▄█ █ █▄█ █▄█▄█▄█ █ ▀ █ ▀▄▀ █▄▄▄▄▄▄▄████
████▄ ▀█ ▄█▀ ▄██ █▀▄█ ██▄█▀▄▄ ▄ ▀▀█ ▀▀▀▀█▀█ ▄▀▀███▄▀▄▄ ████
████ █▀ ▄▄ █▄▀█▄▄▀ ▀ ▀▄▀▄▄ ▄ ▀▄▄ ▀█ ▀ ▀ ██▀ ▄█▀▀▀▀▄█▄█ ████
██████▄ █ ▄▄▀ ▀▄ ▄ ▀█▄▀▀████ ██▄▄██ ██ █▀▀▄▄▀▄▄▀▄█ █▄▀▀▄▀█████
█████▄▀▀▄▀▄▀▀█ ▀█ ▄▀ ▄▄ ▄▀▄▄██▀▀▀▄▀▄▄▄▄ ▄█ ▀█▄ ▄█ ▄█▀█ ▄▄██▄████
████▀ ▀▄█▄▄▀ ▄██ ▀███▄▀▄ █▄▀ ▄ █ ▀ ▀▀▄▀ ▄▀▄▀▀▀▄ ▄ █ ▀█▀▀████
████▄ ██ ▀▄▀▀█▄▀▄▄ ▀█ █▄▀ ▄▀▀█▄ █▄▄▄▀▄▀▀▄▀▀▀ ▀ ▄▄▄▀ █ ▀ ▄████
███████▄ ▀▄ █▄ ▄ ▀▀▄█▀█▄▄█ ▀▄ ▄▀▀█▀▄ █▄▀ █ ██▀█ █▀▀▀▄▀█▀▀▀█▀████
████▀█▀ ▄█▄ ▀█ ▄▀▄▄▀ ▀ ▀ ▀█▀ ▄▄ ▀ ▄▄ ▄███ █ █▄█▄█▄▀█ ▀ █ █████
████▄▄ ▄▄▄█▄ ▀▄▀█ ▀▀▄█▄█▄███▄ █▀██▄███▄▄██▄█▄ ▀ ▀█▀ █▄▀█▄▀ ████
████ █▀▀ ▄▄▄ ▀█ █ █▄▄█▄▀ ▄ ▀█ ▄▄▄ █▄ ▄ ▀▄█ ▄ █▄█ ▀▄ ▄▄▄ ██ ▄████
█████▄▀▄ █▄█ ▄█ █ █▀▀ ▀▄█▄██ █▄█ █▄▀▄ ▀▀▀█▀█ █▄ █▄█ ▀█▀▀████
████▄▄ ▄ ▄ █ ▄▀█▄▀▄█▀▄▄▀▀█▄▀▄▄ ▄▄ ▄█▀▀▀ █▀ ▄█ █▀ ▄ ▄█▀█▀████
████ ▄▀ █▀▄▄▀▄██ █ ▀██ ▄ ▄▄▀█▄▄▀▄▄▀▄█▀▄█▀▀ ██▄▀█▄▄██▀▀ ▄▀█ █████
████▄▄█▀▀█▄▄█ █ ▀█▄▄ █▀▄▄▀▀▀▀▄▀▄ █▄█▄▄█▄█ █▀ ▀▄▀▄▄▄█▄██ ▄▄█ ████
██████▄▄▀▀▄▄▀▄▀██▄ ▀▀ ▀ ▀██▄▀ ██▄█▀▄▀██ █▀ ▄▀▄▄▄█▄ █ ▄▀ ▄▀████
████▄█▀██▄▄▀▄ ▄▄▄▄ ▄██▀▄█▀█▄ █▄▄ ▄▄▄▄▄▄█▀▀▄▀ ▄██ ▀▄█▄ █ ▀ ██████
████▄▄██▄█▄ ▄█▄▄ ▄▄█ ██▄ █ ▀▀ ▀█ ▄ ▄▀ █▄█ █ ▄▀█▀██▄ ▀█▀█ ▄████
████▀█ ▀██▄▄█▄▄▄ █▄ ▄▀ ▀▄ ▄▀██▄▄ █▄ ▄█ ▄▄▀█▀█▀▀▀▄▀▀ ▄▄▀█████
█████▀ ▀▀▀▄▄▀▀█▄▄ ██▄▀ ▄███ ██▀█▄▄▄▄ █▀▄▄█ █▄ ▄█▀███▀█▀▄▄█▀█████
████ ▀ ▀▀▄▄▀ ▀▀▄ ▀▀ ▀ ▀▀ █▄█ █▄▀ ▄█▄▄▄▀▄ ▀▀▀▄ ▄█▄▀█▀▄ ▀▄█▀ ▀████
██████████▄█▀▄ ▄ ▀██ ▄▀▄▀█▄█ ▄ ▄▄▄ █ ██▄▀ ▄ ▄▀██ ▀ ▄▄▄ █▄ ▀████
████ ▄▄▄▄▄ █▀▄ ▀▄▀▄█ █▀█▄▄██ █▄█ ▄█▄▄█▄▀▄█▀ ▀▄▀▀ █▄█ ▀ █▀████
████ █ █ █▄ █▄ ▀▄██▀▄▄▄ █▄▀▄▄ ▄▄ ▄▄█▀▀▄▀██▄ ▀ ███ ▄▄▄ ▀▀ ▀████
████ █▄▄▄█ █▀▄█▄▄▀▄▀ ▄█▀ ▀▀▄ ▄▀ ▀▀ █▄ ██▄█▀ ▄▄▄▀▄ ██▄▀▀ ███████
████▄▄▄▄▄▄▄█▄▄▄▄▄▄▄██▄▄▄█████▄█▄▄█▄▄▄██▄▄█▄▄▄▄█▄▄██▄█▄▄▄██▄█▄████
█████████████████████████████████████████████████████████████████
█████████████████████████████████████████████████████████████████
[cont-init.d] 30-config: exited 0.
[cont-init.d] 90-custom-folders: executing...
[cont-init.d] 90-custom-folders: exited 0.
[cont-init.d] 99-custom-scripts: executing...
[custom-init] no custom files found exiting...
[cont-init.d] 99-custom-scripts: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[#] ip link add wg0 type wireguard
[#] wg setconf wg0 /dev/fd/63
[#] ip -4 address add 192.168.20.1 dev wg0
[#] ip link set mtu 1360 up dev wg0
[#] ip -4 route add 192.168.20.4/32 dev wg0
[#] ip -4 route add 192.168.20.3/32 dev wg0
[#] ip -4 route add 192.168.20.2/32 dev wg0
[#] iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
.:53
CoreDNS-1.8.4
linux/amd64, go1.16.4, 053c4d5
[root@riyimei ~]#