D
D
dsslesarev2019-11-29 14:41:15
openvpn
dsslesarev, 2019-11-29 14:41:15

How to connect to openvpn automatically on debian?

There is a client.ovpn key, debian is installed, tell me how to make debian automatically connect in hidden mode?
Without command: openvpn --config client.ovpn

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
paran0id, 2019-11-29
@dsslesarev

client.ovpn is not a key, but
rename the config to client.conf
put it in the /etc/openvpn/client/ directory
run:
systemctl start [email protected]
check:
systemctl status [email protected]
enable autostart :
systemctl enable [email protected]
If, ​​for example, you have a desktop with a graphical environment and have a network manager, then you can import through it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question