Hi there,
I have been running OpenVPN server on a router successfully for a few years, however I am attempting to migrate the server to a windows 10 machine and am running into an issue with the TAP device.
The error message I get in the log, every time I run it is:
Mon Apr 29 19:25:33 2019 us=292658 open_tun
Mon Apr 29 19:25:33 2019 us=293655 MANAGEMENT: Client disconnected
Mon Apr 29 19:25:33 2019 us=293655 CreateFile failed on TAP device: \\.\Global\{4962C630-CCA0-4FC8-8283-42A2497EF70A}.tap: Too many links (errno=31)
Mon Apr 29 19:25:33 2019 us=293655 Exiting due to fatal error
I'm sure it's most probably an issue with my server config. I must confess the OpenVPN set up on my router was a little more straightforward to set up as it did most of the work for me. I've been through the set up guide a few times but I'm now getting a little confused.
If someone could take a look at my server config and point out any obvious issues that might be causing this I'd be really grateful.
Cheers
port 1196
proto udp4
dev tun
dev-node TAP
ca ca.crt
cert server.crt
key server.key
dh dh4096.pem
push "route 192.168.1.0 255.255.255.0"
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "dhcp-option DNS 8.8.8.8"
keepalive 10 120
cipher AES-256-CBC
comp-lzo
persist-key
persist-tun
verb 4