Difference between revisions of "/var/log/openvpn.log"

From wikieduonline
Jump to navigation Jump to search
 
(4 intermediate revisions by one other user not shown)
Line 2: Line 2:
  
 
  cat [[/var/log/]]openvpn.log | [[grep -B1]] "Authentication failure"
 
  cat [[/var/log/]]openvpn.log | [[grep -B1]] "Authentication failure"
 +
cat [[/var/log/]]openvpn.log | [[grep]] YOUR_USERNAME
 +
 +
Thu Jan 13 13:40:24 2022 81.67.79.99:50739 [[TLS]]: Username/Password authentication succeeded for username 'YOUR_USER'
  
 
  Thu Sep 16 18:07:39 2021 Exiting due to fatal error
 
  Thu Sep 16 18:07:39 2021 Exiting due to fatal error
  
  [[killall -USR2]] openvpn ; tail -f /var/log/syslog
+
  [[killall -USR2]] openvpn ; tail -f [[/var/log/syslog]]
  
  
 
  [[AUTH-PAM]]: BACKGROUND: user 'YourUsername' failed to authenticate: [[Authentication failure]]
 
  [[AUTH-PAM]]: BACKGROUND: user 'YourUsername' failed to authenticate: [[Authentication failure]]
 +
 +
AUTH-PAM: BACKGROUND: user 'YourUsername' failed to authenticate: User not known to the underlying authentication module
  
 
  AUTH-PAM: Error signaling background process to exit
 
  AUTH-PAM: Error signaling background process to exit
  
 +
== Authentication succeeded ==
 +
Thu Jan 13 13:40:24 2022 81.67.79.99:50739 [[TLS]]: Username/Password authentication succeeded for username 'YOUR_USER'
 +
 +
== WARNING ==
 
  Thu Nov  4 10:17:54 2021 109.40.243.71:63157 WARNING: normally if you use [[--mssfix]] and/or [[--fragment]], you should also set [[--tun-mtu]] 1500 (currently it is 1400)
 
  Thu Nov  4 10:17:54 2021 109.40.243.71:63157 WARNING: normally if you use [[--mssfix]] and/or [[--fragment]], you should also set [[--tun-mtu]] 1500 (currently it is 1400)
  
 +
Thu Jan 13 11:51:16 2022 xx.193.213.45:52709 WARNING: '[[keydir]]' is present in remote config but missing in local config, remote='keydir 1'
  
 
== See also ==
 
== See also ==

Latest revision as of 14:35, 22 April 2022

/var/log/openvpn.log
cat /var/log/openvpn.log | grep -B1 "Authentication failure"
cat /var/log/openvpn.log | grep YOUR_USERNAME
Thu Jan 13 13:40:24 2022 81.67.79.99:50739 TLS: Username/Password authentication succeeded for username 'YOUR_USER'
Thu Sep 16 18:07:39 2021 Exiting due to fatal error
killall -USR2 openvpn ; tail -f /var/log/syslog


AUTH-PAM: BACKGROUND: user 'YourUsername' failed to authenticate: Authentication failure
AUTH-PAM: BACKGROUND: user 'YourUsername' failed to authenticate: User not known to the underlying authentication module
AUTH-PAM: Error signaling background process to exit

Authentication succeeded[edit]

Thu Jan 13 13:40:24 2022 81.67.79.99:50739 TLS: Username/Password authentication succeeded for username 'YOUR_USER'

WARNING[edit]

Thu Nov  4 10:17:54 2021 109.40.243.71:63157 WARNING: normally if you use --mssfix and/or --fragment, you should also set --tun-mtu 1500 (currently it is 1400)
Thu Jan 13 11:51:16 2022 xx.193.213.45:52709 WARNING: 'keydir' is present in remote config but missing in local config, remote='keydir 1'

See also[edit]

Advertising: