Once I create a new client using the openvpn-install.sh script, where do I find out what its VIP is going to be?
It seems the only way I can find out is only after the client connects and then I look at the log.
Is there a way to know immediately after creation, even before the client connects or is it only assigned once the client connects for the first time?
Also, when clients are removed, when are those IPs re-used again?
Thank you.
Where is the client VIP?
Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech
Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
-
- OpenVPN User
- Posts: 35
- Joined: Sat Sep 15, 2018 4:44 pm
Re: Where is the client VIP?
Not one person here knows the answer to this??
-
- OpenVPN User
- Posts: 35
- Joined: Sat Sep 15, 2018 4:44 pm
Re: Where is the client VIP?
Anyone? I cannot find this information anywhere. Hoping someone here could help me, it's a simple question.
-
- OpenVPN Protagonist
- Posts: 11137
- Joined: Fri Jun 03, 2016 1:17 pm
Re: Where is the client VIP?
We do not support your script .. but, presuming it sets up a standard server, IPs are handed out as needed and reused when they become available. The server hands them out in numerical order.
-
- OpenVPN User
- Posts: 35
- Joined: Sat Sep 15, 2018 4:44 pm
Re: Where is the client VIP?
Thanks for the input.
As far as I understand it, the server is very standard.
First, I think you are saying that once we generate a cert for a client, that client will always have that IP so long as the cert is not removed?
Once removed, then the server will (eventually) re-use the IP?
This seems to be the case since the clients seem to always get the same IP unless a new cert was generated for it. It's just not 100% to me that this is how things are actually working.
However, my question is not exactly what. What I am asking is, where can I find out what IP a new cert or client has been assigned before it even connects for the first time?
I cannot seem to find that anywhere except once a client has connected.
As far as I understand it, the server is very standard.
First, I think you are saying that once we generate a cert for a client, that client will always have that IP so long as the cert is not removed?
Once removed, then the server will (eventually) re-use the IP?
This seems to be the case since the clients seem to always get the same IP unless a new cert was generated for it. It's just not 100% to me that this is how things are actually working.
However, my question is not exactly what. What I am asking is, where can I find out what IP a new cert or client has been assigned before it even connects for the first time?
I cannot seem to find that anywhere except once a client has connected.