F
F
ff0xff2019-07-02 11:11:49
openvpn
ff0xff, 2019-07-02 11:11:49

How to run openvpn from console in ubutnu client, specifying config location?

how to run openvpn client?
openvpn --config /etc/openvpn/client.conf

Options error: --server and --client cannot be used together

OK....
openvpn --client --config /etc/openvpn/client.conf
Options error: --server and --client cannot be used together

wtf? maybe...
openvpn --client /etc/openvpn/client.conf
but no...
Options error: Unrecognized option or missing or extra parameter(s) in [CMD-LINE]:1: client (2.4.4)

Well, how to live with it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Ch, 2019-07-02
@ZooMik

Usually I start it like this:
Maybe some variables are specified in the config that relate to the server part? What are the rights to the config file?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question