This question already has an answer here:
I am using openvpn to connect with other server, the problem is that i run it like this
openvpn configfile.ovpn ... and it locks my shell, so, if I close it, the shell gets closed, I was looking for a way to initialize it as daemon, sending my configfile, but I could not find any, I saw the param
--configfile but seems like I did not work the way I used it... any idea or way to do it??
I am using linux Debian 6
Edit: My .ovpn file is like this:
dev tap client proto tcp-client ca /etc/openvpn/ca.crt cert /etc/openvpn/client.crt key /etc/openvpn/client.pem tls-remote "/O=WatchGuard_Technologies/OU=Fireware/CN=Fireware_SSLVPN_Server" remote-cert-eku "TLS Web Server Authentication" remote someIP persist-key persist-tun verb 3 mute 20 keepalive 10 60 cipher BF-CBC auth MD5 float 1 reneg-sec 3660 nobind mute-replay-warnings auth-user-pass