Re: [Openvpn-users] How to set a fixed IP to a client?

2023-09-03 Thread Jason Long via Openvpn-users
>Hi, >On 03/09/2023 20:50, Jason Long via Openvpn-users wrote: >    I read those steps from an OpenVPN document. Can you tell me where >    the problem is? >There is no problem. >It is simply not possible to "configure" OpenVPN to assign an IP address >based on the computer name or MAC. >As you

Re: [Openvpn-users] How to set a fixed IP to a client?

2023-09-03 Thread Jason Long via Openvpn-users
>On Sun, 03 Sep 2023 15:39:56 +, tincantech via Openvpn-users wrote: >Your continued use >of this mailing list as an alternative to reading any documentation >has not gone unnoticed. >+1 >And it should result in *everyone* to stop responding to this list spammer who >does not care reading t

Re: [Openvpn-users] How to set a fixed IP to a client?

2023-09-03 Thread Jason Long via Openvpn-users
>Le 03/09/2023 à 15:23, Jason Long a écrit : > Hello, > As I said, I have some scenario and I want to learn more. >By abusively relying on others? Strange way to achieve your goals. > Do you mean "ccd-exclusive"? If yes, then I edited the Server.conf as below: > > ifconfig 20.1.0.1 255.255.255.0

Re: [Openvpn-users] How to set a fixed IP to a client?

2023-09-03 Thread David Sommerseth
On 03/09/2023 15:23, Jason Long via Openvpn-users wrote: Hello, As I said, I have some scenario and I want to learn more. Have you ordered any of the books you've been recommended? Have you read any of them? I would say you are pretty closed to getting banned from this mailing list by no

Re: [Openvpn-users] How to set a fixed IP to a client?

2023-09-03 Thread Antonio Quartulli
Hi, On 03/09/2023 20:50, Jason Long via Openvpn-users wrote: I read those steps from an OpenVPN document. Can you tell me where the problem is? There is no problem. It is simply not possible to "configure" OpenVPN to assign an IP address based on the computer name or MAC. As you have

Re: [Openvpn-users] How to set a fixed IP to a client?

2023-09-03 Thread Bo Berglund
On Sun, 03 Sep 2023 15:39:56 +, tincantech via Openvpn-users wrote: >Your continued use >of this mailing list as an alternative to reading any documentation >has not gone unnoticed. +1 And it should result in *everyone* to stop responding to this list spammer who does not care reading the d

Re: [Openvpn-users] How to set a fixed IP to a client?

2023-09-03 Thread Jason Long via Openvpn-users
On Sun, Sep 3, 2023 at 5:38 PM, Bruno Tréguier via Openvpn-users wrote: Le 03/09/2023 à 15:23, Jason Long a écrit : > Hello, > As I said, I have some scenario and I want to >learn more. >By abusively relying on others? Strange way to >achieve your goals. > Do you mean "ccd-exclusive"? If ye

Re: [Openvpn-users] Push the server configuration to the client

2023-09-03 Thread Gert Doering
Hi, On Sun, Sep 03, 2023 at 06:05:09AM +, Jason Long wrote: > push "route 10.0.2.0 255.255.255.0 10.0.2.2 1" > push "dhcp-option DNS 172.20.1.2" > push "dhcp-option DNS 172.20.1.7" > push "redirect-gateway autolocal" This *should* install a default gateway, but if it doesn't, check the client

Re: [Openvpn-users] How to set a fixed IP to a client?

2023-09-03 Thread tincantech via Openvpn-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi, --- Original Message --- On Sunday, September 3rd, 2023 at 15:06, Bruno Tréguier via Openvpn-users wrote: > Le 03/09/2023 à 15:23, Jason Long a écrit : > > > Hello, > > As I said, I have some scenario and I want to learn more. Tran

Re: [Openvpn-users] How to set a fixed IP to a client?

2023-09-03 Thread Bruno Tréguier via Openvpn-users
Le 03/09/2023 à 15:23, Jason Long a écrit : Hello, As I said, I have some scenario and I want to learn more. By abusively relying on others? Strange way to achieve your goals. Do you mean "ccd-exclusive"? If yes, then I edited the Server.conf as below: ifconfig 20.1.0.1 255.255.255.0 mode s

Re: [Openvpn-users] How to set a fixed IP to a client?

2023-09-03 Thread Jason Long via Openvpn-users
>Le 03/09/2023 à 08:48, Jason Long via Openvpn-users a écrit : >  Hello, > When I use "server 10.8.0.0 255.255.255.0" in the Server.conf file, then > OpenVPN assigns IP addresses to clients respectively. What should I do if I > want to assign a specific IP >address to a client with a specific c

Re: [Openvpn-users] How to set a fixed IP to a client?

2023-09-03 Thread tincantech via Openvpn-users
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Not only but also, This HOWTO is very useful: https://community.openvpn.net/openvpn/wiki/HOWTO YMMV -- -BEGIN PGP SIGNATURE- Version: ProtonMail wsBzBAEBCAAnBYJk9GxPCZBPl5z2a5C4nRYhBAm8PURno41yecVVVU+XnPZr kLidAACK4wf/faLlVNOE3Ae80h1eNKp

Re: [Openvpn-users] How to set a fixed IP to a client?

2023-09-03 Thread Bruno Tréguier via Openvpn-users
Le 03/09/2023 à 08:48, Jason Long via Openvpn-users a écrit : Hello, When I use "server 10.8.0.0 255.255.255.0" in the Server.conf file, then OpenVPN assigns IP addresses to clients respectively. What should I do if I want to assign a specific IP address to a client with a specific computer nam