Advertisement
Guest User

vpn debug

a guest
May 25th, 2021
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.20 KB | None | 0 0
  1. ::: Generating Debug Output
  2. :::: PiVPN debug ::::
  3. =============================================
  4. :::: Latest commit ::::
  5. commit 4a5804a24c7397c24945c0f94c2609483f008100
  6. Author: 4s3ti <4s3ti@protonmail.com>
  7. Date: Sat May 8 15:51:27 2021 +0200
  8.  
  9. Multiple fixes and Shellcheck complaiance
  10.  
  11. fixes for Issue #1306, qrcode now defaults to ansiutf8,
  12. added flag -a256 or --ansi256 if their fonts are having trouble
  13.  
  14. Shellcheck compliance #1233 for qrcodeCONF.sh,
  15. LIST array is now created with mapfile instead
  16. quoted multiple variables.
  17.  
  18. fixes for Issue #1307, User creation won't allow user creation with name
  19. starting with "-", qrcodeCONF.sh won't accept wrong options or users startin g with "-"
  20. and exit with error code 1
  21. =============================================
  22. :::: Installation settings ::::
  23. PLAT=Debian
  24. OSCN=buster
  25. USING_UFW=0
  26. IPv4dev=eth0
  27. install_user=pi
  28. install_home=/home/pi
  29. VPN=wireguard
  30. pivpnPORT=51820
  31. pivpnDNS1=8.8.8.8
  32. pivpnDNS2=8.8.4.4
  33. pivpnHOST=REDACTED
  34. INPUT_CHAIN_EDITED=0
  35. FORWARD_CHAIN_EDITED=0
  36. pivpnPROTO=udp
  37. pivpnMTU=1420
  38. pivpnDEV=wg0
  39. pivpnNET=10.6.0.0
  40. subnetClass=24
  41. ALLOWED_IPS="0.0.0.0/0, ::0/0"
  42. UNATTUPG=1
  43. INSTALLED_PACKAGES=(dnsutils iptables-persistent wireguard-tools qrencode unatte nded-upgrades)
  44. =============================================
  45. :::: Server configuration shown below ::::
  46. [Interface]
  47. PrivateKey = server_priv
  48. Address = 10.6.0.1/24
  49. PostUp = iptables -A FORWARD -i wg0 -j ACCEPT; iptables -A FORWARD -o wg0 -j ACC EPT; iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
  50. PostDown = iptables -D FORWARD -i wg0 -j ACCEPT; iptables -D FORWARD -o wg0 -j A CCEPT; iptables -t nat -D POSTROUTING -o eth0 -j MASQUERADE
  51. MTU = 1420
  52. ListenPort = 51820
  53. ### begin user ###
  54. [Peer]
  55. PublicKey = user_pub
  56. PresharedKey = user_psk
  57. AllowedIPs = 10.6.0.2/32
  58. ### end user ###
  59. =============================================
  60. :::: Client configuration shown below ::::
  61. [Interface]
  62. PrivateKey = user_priv
  63. Address = 10.6.0.2/24
  64. MTU = 1420
  65. DNS = 8.8.8.8, 8.8.4.4
  66.  
  67. [Peer]
  68. PublicKey = server_pub
  69. PresharedKey = user_psk
  70. Endpoint = REDACTED:51820
  71. AllowedIPs = 0.0.0.0/0, ::0/0
  72. =============================================
  73. :::: Recursive list of files in ::::
  74. :::: /etc/wireguard shown below ::::
  75. /etc/wireguard:
  76. configs
  77. keys
  78. wg0.conf
  79. wg0.conf.save
  80.  
  81. /etc/wireguard/configs:
  82. clients.txt
  83. user.conf
  84.  
  85. /etc/wireguard/keys:
  86. server_priv
  87. server_pub
  88. user_priv
  89. user_psk
  90. user_pub
  91. =============================================
  92. :::: Self check ::::
  93. :: [OK] IP forwarding is enabled
  94. :: [OK] Iptables MASQUERADE rule set
  95. :: [OK] WireGuard is running
  96. :: [OK] WireGuard is enabled (it will automatically start on reboot)
  97. :: [OK] WireGuard is listening on port 51820/udp
  98. =============================================
  99. :::: Having trouble connecting? Take a look at the FAQ:
  100. :::: https://github.com/pivpn/pivpn/wiki/FAQ
  101. =============================================
  102. :::: WARNING: This script should have automatically masked sensitive ::::
  103. :::: information, however, still make sure that PrivateKey, PublicKey ::::
  104. :::: and PresharedKey are masked before reporting an issue. An example key ::::
  105. :::: that you should NOT see in this log looks like this: ::::
  106. :::: YIAoJVsdIeyvXfGGDDadHh6AxsMRymZTnnzZoAb9cxRe ::::
  107. =============================================
  108. :::: Debug complete ::::
  109. :::
  110. ::: Debug output completed above.
  111. ::: Copy saved to /tmp/debug.log
  112. :::
  113.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement