Updated to openvpn 2.4.11-1.el8 today - when I first saw this problem. Config not changed other than verb set to 5
Connecting from a Debian 10 system (but I see the same with others). Log lines below (date/time removed), server is bm2020.phcomp.co.uk:
Code: Select all
bm2020.phcomp.co.uk openvpn[440836]: WRR78.32.209.33:45802 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 2048 bit RSA
bm2020.phcomp.co.uk openvpn[440836]: 78.32.209.33:45802 [freshmint.phcomp.co.uk] Peer Connection Initiated with [AF_INET]78.32.209.33:45802
bm2020.phcomp.co.uk openvpn[440836]: freshmint.phcomp.co.uk/78.32.209.33:45802 Could not access file 'vpn-server-ServerClients/freshmint.phcomp.co.uk': Permission denied (errno=13)
bm2020.phcomp.co.uk openvpn[440836]: freshmint.phcomp.co.uk/78.32.209.33:45802 Could not access file 'vpn-server-ServerClients/DEFAULT': Permission denied (errno=13)
Code: Select all
local 46.43.0.112
port 1194
proto udp
dev tun
ca ca.crt
cert bm2020.phcomp.co.uk.crt
key bm2020.phcomp.co.uk.key
dh dh2048.pem
tls-auth ta.key 0
server 10.200.201.0 255.255.255.0
reneg-sec 600
tran-window 300
keepalive 100 300
ifconfig-pool-persist External-ipp.txt
status openvpn-status.log
comp-lzo
cipher AES-256-CBC
user nobody
group nobody
persist-key
persist-tun
verb 5
client-config-dir vpn-server-ServerClients
push "route 10.200.201.0 255.255.255.0 10.200.201.1"
Code: Select all
ifconfig-push 10.200.201.8 10.200.201.1
The file vpn-server-ServerClients/freshmint.phcomp.co.uk is mode 644, directory 755. I have switched selinux off.
The VPN does get set up but the clients have the wrong VPN addressess so ifconfig-push is not being seen.
This all worked until the new version of openvpn today.
What has gone wrong ?
Thanks in advance.