1. [root@riyimei ~]# kubectl -n wireguard logs wireguard
    2. [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
    3. [s6-init] ensuring user provided files have correct perms...exited 0.
    4. [fix-attrs.d] applying ownership & permissions fixes...
    5. [fix-attrs.d] done.
    6. [cont-init.d] executing container initialization scripts...
    7. [cont-init.d] 01-envfile: executing...
    8. [cont-init.d] 01-envfile: exited 0.
    9. [cont-init.d] 10-adduser: executing...
    10. -------------------------------------
    11. _ ()
    12. | | ___ _ __
    13. | | / __| | | / \
    14. | | \__ \ | | | () |
    15. |_| |___/ |_| \__/
    16. Brought to you by linuxserver.io
    17. -------------------------------------
    18. To support the app dev(s) visit:
    19. WireGuard: https://www.wireguard.com/donations/
    20. To support LSIO projects visit:
    21. https://www.linuxserver.io/donate/
    22. -------------------------------------
    23. GID/UID
    24. -------------------------------------
    25. User uid: 1000
    26. User gid: 1000
    27. -------------------------------------
    28. [cont-init.d] 10-adduser: exited 0.
    29. [cont-init.d] 30-config: executing...
    30. 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
    31. **** It seems the wireguard module is already active. Skipping kernel header install and module compilation. ****
    32. **** Server mode is selected ****
    33. **** SERVERURL var is either not set or is set to "auto", setting external IP to auto detected value of 120.85.164.202 ****
    34. **** External server port is set to 31820. Make sure that port is properly forwarded to port 51820 inside this container ****
    35. **** Internal subnet is set to 192.168.20.0 ****
    36. **** AllowedIPs for peers 0.0.0.0/0, ::/0 ****
    37. **** Peer DNS servers will be set to 169.254.25.10 ****
    38. **** No wg0.conf found (maybe an initial install), generating 1 server and 3 peer/client confs ****
    39. grep: /config/peer*/*.conf: No such file or directory
    40. PEER 1 QR code:
    41. █████████████████████████████████████████████████████████████████
    42. █████████████████████████████████████████████████████████████████
    43. ████ ▄▄▄▄▄ █ ▄█▀ ▀ ▄█ ▀▄█▄▄▀ █▀▄██▄▀████▀ ▄█▄▄▄█▀▄ ██ ▄▄▄▄▄ ████
    44. ████ █ █ █ ▄█▀▄ █▀ ▄ █▀█ ▄▄▄▄ ▀▀▀▀▀█ ▀█ ▀█ ▄▄▄ ██ █ █ ████
    45. ████ █▄▄▄█ █▀ ▄▀▄▄▄ ▄▄ ▄ █ ▄▄▄ ▄█▄▄▀ █▀▀██▀▀▄▀▄██ █▄▄▄█ ████
    46. ████▄▄▄▄▄▄▄█▄█ █▄█ █▄▀ █▄▀▄█ █ █▄█ █▄█▄█▄█ █ ▀ █ ▀▄▀ █▄▄▄▄▄▄▄████
    47. ████▄ ▀█▄ ▄▀█▀▄██ █▀▄█ ██▄█▀▄▄ ▄ ▀▀█ ▀▀▀▀█▀█ ▄▀▀▀▀▀▄▀▄▄ ████
    48. ████ █▀ ▄█ ▀█▄▄▀█▄▄▀ ▀ ▀▄▀▄▄ ▄ ▀▄▄ ▀█ ▀ ▀ ██▀ ▄▀▀▀▀ ██▄█ ████
    49. ███████▀█ ▄ ▄▀▀▄ ▄ ▀█▄▀▀████ ██▄▄██ ██ █▀▀▄▄▀▄▄▀▄█ █▄▀▀▄▀█████
    50. █████▀▄▄▄▀▄▀ █ ▀█ ▄▀ ▀▀ ▄█▀▄██▀▀▀▄▀▄▄▄▄ ▄█ ▀█▄ ▄▀▄▄█▀█ ▄▄▀█▄████
    51. ████▄█▄ █▄▄▀ ▄██ ▀██▄▄ ▀█▄█ ▄ █ ▀ ▀▀▄▀ █▀ █▀▀▄ ▄ █ ▀▄▀▀████
    52. ████▀██▀ █▄▀▀█▄▀▄▄ ▀█ █▀ ▄▀▀█▄ █▄▄▄▀▄▀▀▄▀▀▀ ▀▀ ▄█▄▀ █ ▀█▀████
    53. ████ ▄█▄▀ ▄ █▄ ▄█▀▀▄█▀█▄▄█ ▀▄ ▄▀▀█▀▄ █▄▀ █ ██▀█ █▀▀▀▄▀█▀▀▀▄▀████
    54. ████▀█▀ ▄ ▀█▄▀▀▄█▀ ▀ ▀ ▀█▀ ▄▄ ▀ ▄▄ ▄███ █ █▄█▄█▄▀▀ █ █ █████
    55. ████▄▄ ██▄▀ ▀▄▀▀ ▀▀▄█▄█▄███▄ █▀██▄███▄▄██▄█▄ ▀ ▀▀▄▄ ███▄▀ ████
    56. ████ █▀▀ ▄▄▄ ██▀▄ █▄▄█▄▀ ▄ ▀█ ▄▄▄ █▄ ▄ ▀▄█ ▄ █▄█ ▀ ▄▄▄ ██ ▄████
    57. █████▄▄▀ █▄█ ▀ ██▀▀ ▀▄█▄██ █▄█ █▄▀▄ ▀▀▀█▀█ █▀ █▄█ ▀█▀▀████
    58. ████▄▀██ ▄▄ █ ▄▀█▄▀▄▀▄▄▄ ██▄▀▄▄ ▄▄ ▄█▀▀▀ ██ ▄▀▄█▀ ▄▄▄▄▀▄█▀████
    59. █████▀▀▀█▀▄ ▄██ █ ▀▀▄█ ▀▄█▀█▄▄▀▄▄▀▄█▀▄█▀▀ ▄▄▀ █ ▀███▀▀ ▄▀▄ █████
    60. █████ ▄▄▀█▄█ █ ▀█▄█ █ ▀▄▀▄ ▀▄▀▄ █▄█▄▄█▄█ █▀ ▀▄▀▄█▄█▄██ ▄▄█▀████
    61. ██████▄▄▀▀▄▄▀▄▀▀ ▄ ▀▀ ▀ ▀██▄▀ ██▄█▀▄▀██ █▀ ▄▀▄▄▄█▄ █ ▄▀ █ ████
    62. ████▄█▀██▄▄▀▄▄▄▀ ▄▄▄██▀▄█▀█▄ █▄▄ ▄▄▄▄▄▄█▀▀▄▀ ▄██ ▀▄█▄ █ ▀ ██████
    63. ████▄▄███ ▄ ▄ ██ ██ ██▄ █ ▀▀ ▀█ ▄ ▄▀ █▄█ █ ▄▀█▀██▄ ▀█▀█ ▄████
    64. ████▀█ ▀▄▀▄▄█▄ ▄ ▀ ▄▀ ▀▄ ▄▀██▄▄ █▄ ▄█ ▄▄▀█▀█▀▀█▄▀▀ ▄▄▀█████
    65. █████▀ ██▀▄ █ ▀▄▄█▄██▄▀ ▄███ ██▀█▄▄▄▄ █▀▄▄█ █▄ ▄█▀█ ██ █▀█████
    66. ████ ▀ ▀▀▄▄▀ ▀▀▄ ▀▀ ▄▀▀ █▄█ █▄▀ ▄█▄▄▄▀▄ ▀▀█ ▄█▄▀█▀██ ███ ▀████
    67. ██████████▄█ ▄ ▄ ▀██▀█▀ ▀▄ █ ▄ ▄▄▄ █ ██▄▀█▄▀▄▀██ ▀ ▄▄▄ ██ █████
    68. ████ ▄▄▄▄▄ █▀▄ ▀▄▀ ▄ ▀ █▄▄██ █▄█ ▄█▄▄█▄▀▄▄▀ ▀ ▄▀▀ █▄█ ▀ ▄████
    69. ████ █ █ █▄ ▄▄ ▀▄██▀▄▄▄ █▄▀▄▄ ▄▄ ▄▄█▀▀▄▀██▄ ▀ ███ ▄▄▄ ▀▀▀▀████
    70. ████ █▄▄▄█ █▀▄ ▄▄▀ ▀ ▄█▀ ▀▀▄ ▄▀ ▀▀ █▄ ██▄█▀ ▄▄▄▀▄ ██▄▀▀ ███████
    71. ████▄▄▄▄▄▄▄█▄▄▄█▄▄███▄▄▄█████▄█▄▄█▄▄▄██▄▄█▄▄▄▄█▄▄██▄█▄▄▄██▄█▄████
    72. █████████████████████████████████████████████████████████████████
    73. █████████████████████████████████████████████████████████████████
    74. PEER 2 QR code:
    75. █████████████████████████████████████████████████████████████████
    76. █████████████████████████████████████████████████████████████████
    77. ████ ▄▄▄▄▄ █ ▀█▄█▄▄▀ ▄▄▀ ▄▄█▀▄▀ █▄▀ █▄▄▄▀█▄█▄█▀▄ ▄ ██ ▄▄▄▄▄ ████
    78. ████ █ █ ██ ▀██▀▄██▄█ ██▀█▄██ ▄█ █▀▄ ▄▀█▀▄▀▀█ ▄ ██ █ █ ████
    79. ████ █▄▄▄█ █ █▀▄▄ █▀▀ ▄█▀▄▄▄ ▄▄▄ ▀██ █▄▀ ▄▀███▀▄██ █▄▄▄█ ████
    80. ████▄▄▄▄▄▄▄█ █▄▀▄█ ▀ █ █▄█ ▀ █ █▄█ █▄▀ ▀▄█ ▀▄█ █ █ █ █▄▄▄▄▄▄▄████
    81. ████ ▄▄█▀▄▄▀▄ ▄ ▄▄▄ █▀▄▀▄█▄█ ▄ ▄▄▄ ▄▄██ ▄█▀▄█ █ ▄▄█▀▄▄████
    82. ████▀▀▄███▄██▀▄ ▄ █▀ ▀▄█ ██▄ ▄ ██▄▄█▄▀ ▄█▄▄▄ ▄ █ █▀▀█▄▀████
    83. ████▀▀█▄▄▀▄ ▀█▄ ▄ ▄███▀▄▄▄▄▄▀▄██▀▀▄▄▄▀▄▀█ ███ █▄▄▄▀█ █▀████
    84. ████ ▀▄ █▄ ▀▀▄█▄▀██▄▄█▀█▀▄ ▄▄ ██ ██ ▄█▄▀█▀ ██▄ ▀ ▄▀▄ ▀ ▄█████
    85. ████ ▀▄▄▄█▄█▄█▄▄▄█▀ ▀▄▀ █ ▄█ ▄▀▀▄▄▄▄▀ ▀██ ▀▀ █▀ █▄ ▄▄▀ █▀████
    86. ████▀▄▄ ▄▀▄ ▀ ███▀ ▄▄▄ ▄ █ ▄█▄▀ ██ ███ █▄▄▀ ▀ ▀▄▄▄▄ ▄▀████
    87. ████ ▀▀█▄ ▄▄▀█▀▄▀███▄ ▀ ▄▀ ▄ ▄█ ▄▄█ ▄▀▄▀▄▄█▀▄▄ █ █▄ █▀█████
    88. ████ ▄ ▄ █▄▀▄ ▄█ ▀█▄█▀ ▀█▀█▀██▄█▄▀██▄ ▀▄▄▀▀▄▄▄█▄ ▀ ▀▄█▄▄▀▄████
    89. ████ ▄▀▄▄▄▀ █ ▀ ▄█ █▀ ▀█▄▄▀ ▄▄ ▄▀ ▀▄▄█ ▀▀█▄█▄█▄▀ ▄█▀▄▄ ▄ █▄████
    90. ████▀▄ █ ▄▄▄ █▀▄█▄█▀ ▄█ ▄ ▄ ▄ ▄▄▄ ▄█▄ ▄ █▄▄ ▄▄█▄▄█ ▄▄▄ ▀▄▀█████
    91. ████▀ ▀▄ █▄█ ▄▀▄██▄ ▄█ ▄█▄▀▄ █▄█ ▀ █▀███▄ ▄▄▄▄▀▄█ █▄█ ▄▀██████
    92. ████▀█ ▀▄▄▄ ▀▄ ▄██ █▀██▀▀▀█ ▄ ▄▄▄█▀ ▀█ ▀▄▀▀██▄ ▀█ ▄ ▀ ▄ ████
    93. ████ █▀▀▄ ▄ ▀█▄▄▄▀▄ ▄█▀ ▄▄▄ █ ███ ▀ █▄██▄▄ ▀ █▀▄ ▄▀██▀█ ▄▀████
    94. █████▄▄▄█▀▄ ▄▀▄▀ ▄█▀▄▄ ▀ █▄ ██ ▄▄█▄ ▀█▄▀ █▄▀█ ▀ ▄█▄▀▄ ██▀████
    95. ████▄ █ ▄ ██ █▀ ▄ ▀▄█▄ ▄▄ █▄▄▄█▀█ ▄▄▄▄▀ ▀▀ █ ██▄ ▄▀▀█ ▄▀█████
    96. █████▄ ▀▀ ▄ █ █▄▄█ ▀▀ █▄█▀ ▀▀▄ ▄███ ▄ █▄█▄▄▄█ ▄█▀▀▄█▀▄▄████
    97. ████ ▀▄▄▄▄▄ ▄▀▄▀ ▄▀▄▀ ▄▄▀ █▄▄ ▄▀ ▄▄▀█ ▄▀ ▄▀▄▄ █▄ ▄▀ ▄ ▄ ▀▄ ████
    98. ████ ▄▀█ ▄▄█▄▀██▄ ▄ █▀ █▄▄ ▄▄ ▄▄█▀▄▄▄▀█▄▄ ▄ ▀█▀▄█ █▄ █ ▄████
    99. ████▀█▄█▄▀▄▀ ▄█ ▀█▄▄██▄ ▄▄▄▄▀▀ ▄█ ▀▄ ▀▀▄█▄ ▀ ▄██▀█ ██▀█▀████
    100. ████ ▀ ▀▀▄▄█▄██ ▀ ▄▄█▀ ▄▀ ▄▀▄ █▄█▄█ ██▀ ██ ██▄ ▀▀ █▀ ▀ ▀ ████
    101. ██████████▄█ █▀█▄█▀▄▀█▀▄ █▀▄▄ ▄▄▄ ▄▄▄▀▄▀ █ ▄██ ▄▀█ ▄▄▄ ▄ ▄▀████
    102. ████ ▄▄▄▄▄ █▀ ▄▄ █ ▀ ▄▀ ▀ ▄▄ █▄█ █▄ ▀█ █ █▄▀ ▀ ▄█ █▄█ █▀ ████
    103. ████ █ █ ██▀▀ ▀▄██▄▄█ █▀▄ █ ▄ ▄ ▄ █▄ █ █▄▄█▄█▄▄▄▄▄ ▄ █▄█████
    104. ████ █▄▄▄█ █ ▀ ▀▄█▄ ▄ ▀██ ▀█ ▄██▀▄█▄▀▀█▄ ▄▄ ██ ▄▀▄█ █▄▄▄▄▄████
    105. ████▄▄▄▄▄▄▄█▄▄▄████▄▄█▄▄█▄▄▄█▄███▄▄▄▄▄▄█▄█▄████▄▄▄▄██▄▄█▄▄▄█▄████
    106. █████████████████████████████████████████████████████████████████
    107. █████████████████████████████████████████████████████████████████
    108. PEER 3 QR code:
    109. █████████████████████████████████████████████████████████████████
    110. █████████████████████████████████████████████████████████████████
    111. ████ ▄▄▄▄▄ █ ▄█▀ ▀███ ███▄▄ █▀▄██▄▀████▀ ▄██▀ █▀▄ ██ ▄▄▄▄▄ ████
    112. ████ █ █ █ ▄█▀▄ █ ▀ ▄▀▄▀█▀▄▄▄▄ ▀▀▀▀▀█ ▀█ ▀█ ▄▄▄ ██ █ █ ████
    113. ████ █▄▄▄█ █▀ ▀█▄▄▄ ▄▄ ▄ █ ▄▄▄ ▄█▄▄█▄ █▀▀██▀▀▄▀▄██ █▄▄▄█ ████
    114. ████▄▄▄▄▄▄▄█▄█▄█▄█ █▄▀ █▄▀▄█ █ █▄█ █▄█▄█▄█ █ ▀ █ ▀▄▀ █▄▄▄▄▄▄▄████
    115. ████▄ ▀█ ▄█▀ ▄██ █▀▄█ ██▄█▀▄▄ ▄ ▀▀█ ▀▀▀▀█▀█ ▄▀▀███▄▀▄▄ ████
    116. ████ █▀ ▄▄ █▄▀█▄▄▀ ▀ ▀▄▀▄▄ ▄ ▀▄▄ ▀█ ▀ ▀ ██▀ ▄█▀▀▀▀▄█▄█ ████
    117. ██████▄ █ ▄▄▀ ▀▄ ▄ ▀█▄▀▀████ ██▄▄██ ██ █▀▀▄▄▀▄▄▀▄█ █▄▀▀▄▀█████
    118. █████▄▀▀▄▀▄▀▀█ ▀█ ▄▀ ▄▄ ▄▀▄▄██▀▀▀▄▀▄▄▄▄ ▄█ ▀█▄ ▄█ ▄█▀█ ▄▄██▄████
    119. ████▀ ▀▄█▄▄▀ ▄██ ▀███▄▀▄ █▄▀ ▄ █ ▀ ▀▀▄▀ ▄▀▄▀▀▀▄ ▄ █ ▀█▀▀████
    120. ████▄ ██ ▀▄▀▀█▄▀▄▄ ▀█ █▄▀ ▄▀▀█▄ █▄▄▄▀▄▀▀▄▀▀▀ ▀ ▄▄▄▀ █ ▀ ▄████
    121. ███████▄ ▀▄ █▄ ▄ ▀▀▄█▀█▄▄█ ▀▄ ▄▀▀█▀▄ █▄▀ █ ██▀█ █▀▀▀▄▀█▀▀▀█▀████
    122. ████▀█▀ ▄█▄ ▀█ ▄▀▄▄▀ ▀ ▀ ▀█▀ ▄▄ ▀ ▄▄ ▄███ █ █▄█▄█▄▀█ ▀ █ █████
    123. ████▄▄ ▄▄▄█▄ ▀▄▀█ ▀▀▄█▄█▄███▄ █▀██▄███▄▄██▄█▄ ▀ ▀█▀ █▄▀█▄▀ ████
    124. ████ █▀▀ ▄▄▄ ▀█ █ █▄▄█▄▀ ▄ ▀█ ▄▄▄ █▄ ▄ ▀▄█ ▄ █▄█ ▀▄ ▄▄▄ ██ ▄████
    125. █████▄▀▄ █▄█ ▄█ █ █▀▀ ▀▄█▄██ █▄█ █▄▀▄ ▀▀▀█▀█ █▄ █▄█ ▀█▀▀████
    126. ████▄▄ ▄ ▄ █ ▄▀█▄▀▄█▀▄▄▀▀█▄▀▄▄ ▄▄ ▄█▀▀▀ █▀ ▄█ █▀ ▄ ▄█▀█▀████
    127. ████ ▄▀ █▀▄▄▀▄██ █ ▀██ ▄ ▄▄▀█▄▄▀▄▄▀▄█▀▄█▀▀ ██▄▀█▄▄██▀▀ ▄▀█ █████
    128. ████▄▄█▀▀█▄▄█ █ ▀█▄▄ █▀▄▄▀▀▀▀▄▀▄ █▄█▄▄█▄█ █▀ ▀▄▀▄▄▄█▄██ ▄▄█ ████
    129. ██████▄▄▀▀▄▄▀▄▀██▄ ▀▀ ▀ ▀██▄▀ ██▄█▀▄▀██ █▀ ▄▀▄▄▄█▄ █ ▄▀ ▄▀████
    130. ████▄█▀██▄▄▀▄ ▄▄▄▄ ▄██▀▄█▀█▄ █▄▄ ▄▄▄▄▄▄█▀▀▄▀ ▄██ ▀▄█▄ █ ▀ ██████
    131. ████▄▄██▄█▄ ▄█▄▄ ▄▄█ ██▄ █ ▀▀ ▀█ ▄ ▄▀ █▄█ █ ▄▀█▀██▄ ▀█▀█ ▄████
    132. ████▀█ ▀██▄▄█▄▄▄ █▄ ▄▀ ▀▄ ▄▀██▄▄ █▄ ▄█ ▄▄▀█▀█▀▀▀▄▀▀ ▄▄▀█████
    133. █████▀ ▀▀▀▄▄▀▀█▄▄ ██▄▀ ▄███ ██▀█▄▄▄▄ █▀▄▄█ █▄ ▄█▀███▀█▀▄▄█▀█████
    134. ████ ▀ ▀▀▄▄▀ ▀▀▄ ▀▀ ▀ ▀▀ █▄█ █▄▀ ▄█▄▄▄▀▄ ▀▀▀▄ ▄█▄▀█▀▄ ▀▄█▀ ▀████
    135. ██████████▄█▀▄ ▄ ▀██ ▄▀▄▀█▄█ ▄ ▄▄▄ █ ██▄▀ ▄ ▄▀██ ▀ ▄▄▄ █▄ ▀████
    136. ████ ▄▄▄▄▄ █▀▄ ▀▄▀▄█ █▀█▄▄██ █▄█ ▄█▄▄█▄▀▄█▀ ▀▄▀▀ █▄█ ▀ █▀████
    137. ████ █ █ █▄ █▄ ▀▄██▀▄▄▄ █▄▀▄▄ ▄▄ ▄▄█▀▀▄▀██▄ ▀ ███ ▄▄▄ ▀▀ ▀████
    138. ████ █▄▄▄█ █▀▄█▄▄▀▄▀ ▄█▀ ▀▀▄ ▄▀ ▀▀ █▄ ██▄█▀ ▄▄▄▀▄ ██▄▀▀ ███████
    139. ████▄▄▄▄▄▄▄█▄▄▄▄▄▄▄██▄▄▄█████▄█▄▄█▄▄▄██▄▄█▄▄▄▄█▄▄██▄█▄▄▄██▄█▄████
    140. █████████████████████████████████████████████████████████████████
    141. █████████████████████████████████████████████████████████████████
    142. [cont-init.d] 30-config: exited 0.
    143. [cont-init.d] 90-custom-folders: executing...
    144. [cont-init.d] 90-custom-folders: exited 0.
    145. [cont-init.d] 99-custom-scripts: executing...
    146. [custom-init] no custom files found exiting...
    147. [cont-init.d] 99-custom-scripts: exited 0.
    148. [cont-init.d] done.
    149. [services.d] starting services
    150. [services.d] done.
    151. [#] ip link add wg0 type wireguard
    152. [#] wg setconf wg0 /dev/fd/63
    153. [#] ip -4 address add 192.168.20.1 dev wg0
    154. [#] ip link set mtu 1360 up dev wg0
    155. [#] ip -4 route add 192.168.20.4/32 dev wg0
    156. [#] ip -4 route add 192.168.20.3/32 dev wg0
    157. [#] ip -4 route add 192.168.20.2/32 dev wg0
    158. [#] iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACCEPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
    159. .:53
    160. CoreDNS-1.8.4
    161. linux/amd64, go1.16.4, 053c4d5
    162. [root@riyimei ~]#