On Mon, 21 Aug 2023 06:12:45 +0000 (UTC), Jason Long via Openvpn-users
<openvpn-users@lists.sourceforge.net> wrote:

>Hello,
>My server and client IP addresses are in range 10.0.2.X.
>I created a CCD directory and create a file inside the folder. I wrote the 
>below lines in this file:
>
>iroute 10.0.2.0 255.255.255.0
>
>
>Then, I opened the server.conf file and wrote these lines in it:
>
>client-config-dir CCD
>ccd-exclusive
>route 10.0.2.2 255.255.255.0

>Two requirements given the above statement:

>There must exist on your server the following dir: /etc/openvpn/CCD 

>Do you have a file in that dir named exactly as the CommonName of the client 
>you
>want to connect with?

>
>I restarted the OpenVPN service and client connected to my OpenVPN server.

>So what is the complaint this time? It works does it not?

>I changed the "iroute" and "route" IP addresses to something like 
>"192.168.1.0", but why client can connect to my OpenVPN server?

>And why do you write "something like" when you ask for help?
>You have to supply the *exact* text in the conf file for anyone to be able to
>check why something happens or not...

>Are you asking why the client can connect or why it cannot connect?
>Your statement is ambiguous....
>Is it a question or a statement of fact?


>-- 
>Bo Berglund
>Developer in Sweden



Hello,
Thanks again.
Yes. The file under the CCD directory is exactly as the Common Name of the 
client.

Yes. Why can the client connect to my OpenVPN server when the IP range is not 
correct?
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users


_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users

Reply via email to