Поднял OpenVPN на Centos 8, почему - то участникам выдаётся дин и тот же ip адрес. Ключ у всех один.
Конфиг сервера:
local 206.189.5.68
port 443
proto udp
dev tap
ca keys/ca.crt
cert keys/vpn-server.crt
key keys/vpn-server.key
dh keys/dh.pem
tls-auth keys/ta.key 0
server 172.16.10.0 255.255.255.0
ifconfig-pool-persist ipp.txt
keepalive 10 120
max-clients 32
persist-key
persist-tun
status /var/log/openvpn/openvpn-status.log
log-append /var/log/openvpn/openvpn.log
verb 0
mute 20
daemon
mode server
tls-server
comp-lzo no
username-as-common-name
plugin /usr/lib64/openvpn/plugins/openvpn-plugin-auth-pam.so
login
client-to-client
client-config-dir ccd
Конфиг клиента:
client
resolv-retry infinite
nobind
remote 206.189.5.68 443
proto udp
dev tap
comp-lzo no
ca ca.crt
cert client1.crt
key client1.key
dh dh.pem
tls-client
tls-auth ta.key 1
float
keepalive 10 120
persist-key
persist-tun
verb 0
auth-user-pass auth.txt
remote-cert-tls server