Hi, my server is allocating 4 IPs per new key generated. I read in documentation that this is a normal behavior when using a /30 subnet (I'm not sure if I'm using this :roll: )
Anyway, I noted that I always get the same ip address (10.10.1.6) when I connect to my server. If I change key, I always get another IP address, looks like they are static for each Key/CommonName.
Here's my server.ovpn:
local MYIPADDRESS
mode server
port 1194
dev tun
dev-node VPN
server 10.10.1.0 255.255.255.0
push "redirect-gateway def1"
push "dhcp-option DNS 8.8.8.8"
comp-lzo
tls-server
tls-auth keys/shared.key 0
ca keys/ca.crt
cert keys/server.crt
key keys/server.key
dh keys/dh4096.pem
keepalive 10 60
max-clients 50
cipher AES-256-CBC
script-security 2
tls-verify "C:\\Manager\\RevokerMgr.exe"
log-append keys/logs.txt
First question is: Should I add
topology subnet to my server config? Assuming that I'm beginner in routing and network concepts in general. But this way looks like I'll get 1 IP per Key/CommonName, what looks simpler.
Second question is: How I "clear" the entries created? For example, if a client was occupying the IP 10.10.1.6, and this client is inactive now, how can I free this IP for another clients?