OpenVPN Troubleshooting
Log File Location
The OpenVPN connection log file can be found here: /tmp/openvpn.log. Use the command "cat /tmp/openvpn.log" to view connection errors.
OpenVPN.conf file location
The configuration file used for connecting to the server can be found here: /etc/openvpn/openvpn2.conf. Use the command "cat /etc/openvpn/openvpn2.conf" to view this file and make sure the contents match those of the OpenVPN_CONF.txt that you uploaded to the RediGate:
Log File Error Messages
Cannot load certificate file cert.pem: error:02001002:lib(2):func(1):reason(2): error:2006D080:lib(32):func(109):reason(128): error:140AD002:lib(20):func(173):reason(2)
- This error message can occur for a number of reasons, however a common reason is if your MQTT tag's (using Ignition) are pointing to the wrong registers due to cached values from a previous connection. To remedy this error, change the "Client ID" value in your ACE configuration to something unique from the previous connection:Â
View NAT Rules
To view the NAT rules currently running in the RediGate, login as root and run the command: "iptables -t nat -L":