Overview
To troubleshoot connectivity issues with the Linux Connector for OpenVPN3 Linux, you can increase the log verbosity level to 6, which records the most detailed diagnostic information.
You can collect verbose logs using one of the following methods:
Option 1: Capture the complete connection process in real time using two terminal windows.
Option 2: Configure the OpenVPN 3 Linux services and profile to use verbose logging until you change the setting.
Option 3: Start the session in the foreground using the
openvpn2emulation utility.
Before you begin
Regardless of which option you use, configure the OpenVPN 3 Linux logging service (openvpn3-service-log) to allow log level 6.
Set the logging service verbosity level:
sudo openvpn3-admin log-service --log-level 6
(Optional) Increase the logging level for the network configuration service (
openvpn3-service-netcfg):sudo openvpn3-admin netcfg-service --config-set log-level 6
Important: If you change the network configuration service logging level, restart the service before collecting logs. Stop any active VPN sessions first to avoid interrupting connected users.
Disconnect any active VPN sessions.
sudo openvpn3 session-manage --config CloudConnexa --disconnect
Note:The default profile name is CloudConnexa. Older deployments may use OpenVPN Cloud. Run
sudo openvpn3 sessions-listto verify your profile name.Restart the network configuration service.
sudo killall -INT openvpn3-service-netcfg
- The service restarts automatically when the next connection is initiated.
Option 1: Capture real-time connection logs
Use this option to capture the complete connection sequence as it happens.
Open Terminal 1 and start logging:
sudo openvpn3 log --log-level 6 --config CloudConnexa
Open Terminal 2 and restart the VPN session:
sudo openvpn3 session-manage --config CloudConnexa --restart
Return to Terminal 1 to view the detailed connection logs as they occur.
Option 2: Configure persistent verbose logging
Use this option if you need the OpenVPN 3 Linux services to continue using verbose logging until you change the configuration:
Set the profile name:
CONFIG_NAME='CloudConnexa'
Configure the profile to use log level 6:
sudo openvpn3 config-manage --config $CONFIG_NAME --log-level 6
View the logs using one of the following methods:
Using the OpenVPN3 Admin Tool:
sudo openvpn3-admin journal --since today
Using the system journal:
journalctl --since today --grep openvpn
Option 3: Run the session in the foreground
If you have the .ovpn configuration file, you can start the session directly in the foreground using the openvpn2 command-line emulation wrapper:
openvpn2 --config config.ovpn --verb 6
Comments
0 comments
Please sign in to leave a comment.