Re: [Openvpn-users] ccd-exclusive does not work

2023-08-22 Thread Jason Long via Openvpn-users
>On Tue, 22 Aug 2023 08:20:24 + (UTC), Jason Long via Openvpn-users > wrote: >Yes. The file under the CCD directory is exactly as the Common Name of the >client. >So if you have set a requirement for the client to have a ccd entry in order to >connect and this client has exactly that, of cou

Re: [Openvpn-users] A question that has the potential to become a useful article

2023-08-22 Thread Jason Long via Openvpn-users
On Tue, Aug 22, 2023 at 4:54 PM, Gert Doering wrote: >Hi, >On Tue, Aug 22, 2023 at 07:56:44AM +, >Jason Long wrote: > Thank you so much again. > 1- When I use "local" then I must not use >"multihome" and vice versa? >When you use local, the IP address that >OpenVPN will use is fixed, so >no

Re: [Openvpn-users] A question that has the potential to become a useful article

2023-08-22 Thread Gert Doering
Hi, On Tue, Aug 22, 2023 at 07:56:44AM +, Jason Long wrote: > Thank you so much again. > 1- When I use "local" then I must not use "multihome" and vice versa? When you use local, the IP address that OpenVPN will use is fixed, so no need for "multihome". > 2- The multihome statement does not

Re: [Openvpn-users] A question that has the potential to become a useful article

2023-08-22 Thread Jason Long via Openvpn-users
>Hi, >On 22/08/2023 09:56, Jason Long via Openvpn-users wrote: > 1- When I use "local" then I must not use "multihome" and vice versa? >No. You can have 'multihome' along with 'local', but in this case >'multihome' will do nothing. >If you don't have 'local', using 'multihome' or not depends on

Re: [Openvpn-users] A question that has the potential to become a useful article

2023-08-22 Thread Antonio Quartulli
Hi, On 22/08/2023 09:56, Jason Long via Openvpn-users wrote: 1- When I use "local" then I must not use "multihome" and vice versa? No. You can have 'multihome' along with 'local', but in this case 'multihome' will do nothing. If you don't have 'local', using 'multihome' or not depends on yo

Re: [Openvpn-users] ccd-exclusive does not work

2023-08-22 Thread Bo Berglund
On Tue, 22 Aug 2023 08:20:24 + (UTC), Jason Long via Openvpn-users wrote: >Yes. The file under the CCD directory is exactly as the Common Name of the >client. So if you have set a requirement for the client to have a ccd entry in order to connect and this client has exactly that, of course

Re: [Openvpn-users] ccd-exclusive does not work

2023-08-22 Thread Jochen Bern
On 22.08.23 10:20, Jason Long via Openvpn-users wrote: Why can the client connect to my OpenVPN server when the IP range is not correct? Two reasons: 1. Because the VPN connection is established *before* any additional routes will be set. 2. You're utterly confused about what is or isn't "c

Re: [Openvpn-users] ccd-exclusive does not work

2023-08-22 Thread Jason Long via Openvpn-users
On Mon, 21 Aug 2023 06:12:45 + (UTC), Jason Long via Openvpn-users 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 ope

Re: [Openvpn-users] A question that has the potential to become a useful article

2023-08-22 Thread Jason Long via Openvpn-users
>Hi, >On Mon, Aug 21, 2023 at 06:40:04AM +, Jason Long wrote: > You said "This is not what I would have - I'd have a public IP address on the > NIC,or 2, or 3.", does that mean you assign a separate network card for each > IP address? If yes, >then if your server is physical, the number of y