01-28-2016 06:48 AM
Hey I added a client.conf file in my /etc/openvpn directory
This client.conf allows me to connect to my openvpn server
When I run openvpn client.conf it's working perfectly
Now I want this connection to start automatically at startup. How can I do that?
01-28-2016 10:14 AM
I found
Just run
update-rc.d openvpn default
01-28-2016 12:20 PM
I suppose that will work but it's not the recommended method. Look at /etc/init.d/vpn and in turn /usr/sbin/vpnctl. IIRC:
The upshot is that, unlike using /etc/openvpn, all of this should work in safemode as well as runmode: /etc/natinst/share is on a separate partition that is read by both runmode and safemode, and safemode has /etc/init.d/vpn and /usr/sbin/vpnctl baked into it. In fact, it's even persisted across reformats, if you specify preserving the network settings.
06-23-2017 12:18 AM
I have a problem with openvpn startup:
https://forums.ni.com/t5/LabVIEW/OpenVPN-Startup-is-killed-by-CRIO/m-p/3649258/highlight/false#M1024...
Could you be more specific with your answer please. Maybe your solution can my problem!
Thanks a lot