Answer the question
In order to leave comments, you need to log in
How to allow access on an Openvpn subnet only to certain clients?
Tell me how to allow access to the entire subnet and to other Openvpn clients only to certain clients? It is necessary that everyone has access only to the Openvpn server, and a few clients have access to all.
Removed the "client-to-client" line from the server config - everyone got access only to the server.
I added "client-config-dir /etc/openvpn/ccd", created a file inside with the client's name and wrote "client-to-client" inside, but it didn't work, I wrote "Options error: option 'client-to-" in the logs client' cannot be used in this context (/etc/openvpn/ccd/client1)". How can such a setting be made? And is it possible?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question