I hope this is the right section!
I just set-up an OpenVPN server ubuntu based (I used this script to install: https://github.com/Nyr/openvpn-install), then I copied on a Windows machine the .ovpn file and allowed the traffic on the firewall.
The connection seems to work flawlessly, but, on the windows machine, I got the log full of: " write to TUN/TAP : Unknown error (code=1450)" and "read from TUN/TAP : Unknown error (code=1450)". I tried to google those error unsuccessfully, do you have any idea?
Thanks!
port 0000
proto udp
dev tun
sndbuf 0
rcvbuf 0
ca ca.crt
cert server.crt
key server.key
dh dh.pem
auth SHA512
tls-auth ta.key 0
topology subnet
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp.txt
push "route 192.168.0.0 255.255.0.0"
push "dhcp-option DNS 192.168.2.1"
push "dhcp-option DNS 192.168.2.2"
keepalive 10 120
cipher AES-256-CBC
comp-lzo
user nobody
group nogroup
persist-key
persist-tun
status openvpn-status.log
verb 3
crl-verify crl.pem
dev tun
proto udp
sndbuf 0
rcvbuf 0
remote xxxxx 000
resolv-retry infinite
nobind
persist-key
persist-tun
remote-cert-tls server
auth SHA512
cipher AES-256-CBC
comp-lzo
setenv opt block-outside-dns
key-direction 1
verb 3
LOG
Code: Select all
Tue Aug 07 10:48:30 2018 OpenVPN 2.4.4 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Sep 26 2017
Tue Aug 07 10:48:30 2018 Windows version 6.2 (Windows 8 or greater) 64bit
Tue Aug 07 10:48:30 2018 library versions: OpenSSL 1.0.2l 25 May 2017, LZO 2.10
Enter Management Password:
Tue Aug 07 10:48:30 2018 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:25340
Tue Aug 07 10:48:30 2018 Need hold release from management interface, waiting...
Tue Aug 07 10:48:31 2018 MANAGEMENT: Client connected from [AF_INET]127.0.0.1:25340
Tue Aug 07 10:48:31 2018 MANAGEMENT: CMD 'state on'
Tue Aug 07 10:48:31 2018 MANAGEMENT: CMD 'log all on'
Tue Aug 07 10:48:31 2018 MANAGEMENT: CMD 'echo all on'
Tue Aug 07 10:48:31 2018 MANAGEMENT: CMD 'hold off'
Tue Aug 07 10:48:31 2018 MANAGEMENT: CMD 'hold release'
Tue Aug 07 10:48:31 2018 Outgoing Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Tue Aug 07 10:48:31 2018 Incoming Control Channel Authentication: Using 512 bit message hash 'SHA512' for HMAC authentication
Tue Aug 07 10:48:31 2018 MANAGEMENT: >STATE:1533631711,RESOLVE,,,,,,
Tue Aug 07 10:48:31 2018 TCP/UDP: Preserving recently used remote address: [AF_INET]xx.xx.xx.xx:00
Tue Aug 07 10:48:31 2018 Socket Buffers: R=[65536->65536] S=[65536->65536]
Tue Aug 07 10:48:31 2018 UDP link local: (not bound)
Tue Aug 07 10:48:31 2018 UDP link remote: [AF_INET]xx.xx.xx.xx:00
Tue Aug 07 10:48:31 2018 MANAGEMENT: >STATE:1533631711,WAIT,,,,,,
Tue Aug 07 10:48:31 2018 MANAGEMENT: >STATE:1533631711,AUTH,,,,,,
Tue Aug 07 10:48:31 2018 TLS: Initial packet from [AF_INET]xx.xx.xx.xx:00, sid=3b0afe7c 4879c1d2
Tue Aug 07 10:48:31 2018 VERIFY OK: depth=1, CN=ChangeMe
Tue Aug 07 10:48:31 2018 VERIFY KU OK
Tue Aug 07 10:48:31 2018 Validating certificate extended key usage
Tue Aug 07 10:48:31 2018 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Tue Aug 07 10:48:31 2018 VERIFY EKU OK
Tue Aug 07 10:48:31 2018 VERIFY OK: depth=0, CN=server
Tue Aug 07 10:48:31 2018 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Tue Aug 07 10:48:31 2018 [server] Peer Connection Initiated with [AF_INET]xx.xx.xx.xx:00
Tue Aug 07 10:48:32 2018 MANAGEMENT: >STATE:1533631712,GET_CONFIG,,,,,,
Tue Aug 07 10:48:32 2018 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
Tue Aug 07 10:48:32 2018 PUSH: Received control message: 'PUSH_REPLY,route 192.168.0.0 255.255.0.0,dhcp-option DNS 192.168.2.1,dhcp-option DNS 192.168.2.2,route-gateway 10.8.0.1,topology subnet,ping 10,ping-restart 120,ifconfig 10.8.0.2 255.255.255.0,peer-id 0,cipher AES-256-GCM'
Tue Aug 07 10:48:32 2018 OPTIONS IMPORT: timers and/or timeouts modified
Tue Aug 07 10:48:32 2018 OPTIONS IMPORT: --ifconfig/up options modified
Tue Aug 07 10:48:32 2018 OPTIONS IMPORT: route options modified
Tue Aug 07 10:48:32 2018 OPTIONS IMPORT: route-related options modified
Tue Aug 07 10:48:32 2018 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Tue Aug 07 10:48:32 2018 OPTIONS IMPORT: peer-id set
Tue Aug 07 10:48:32 2018 OPTIONS IMPORT: adjusting link_mtu to 1625
Tue Aug 07 10:48:32 2018 OPTIONS IMPORT: data channel crypto options modified
Tue Aug 07 10:48:32 2018 Data Channel: using negotiated cipher 'AES-256-GCM'
Tue Aug 07 10:48:32 2018 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Tue Aug 07 10:48:32 2018 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
Tue Aug 07 10:48:32 2018 interactive service msg_channel=752
Tue Aug 07 10:48:33 2018 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 I=22 HWADDR=c8:d3:ff:6a:e4:e1
Tue Aug 07 10:48:33 2018 open_tun
Tue Aug 07 10:48:33 2018 TAP-WIN32 device [Ethernet 2] opened: \\.\Global\{44DF7648-E5BF-46D3-B850-524EC332BCFC}.tap
Tue Aug 07 10:48:33 2018 TAP-Windows Driver Version 9.21
Tue Aug 07 10:48:33 2018 Set TAP-Windows TUN subnet mode network/local/netmask = 10.8.0.0/10.8.0.2/255.255.255.0 [SUCCEEDED]
Tue Aug 07 10:48:33 2018 Notified TAP-Windows driver to set a DHCP IP/netmask of 10.8.0.2/255.255.255.0 on interface {44DF7648-E5BF-46D3-B850-524EC332BCFC} [DHCP-serv: 10.8.0.254, lease-time: 31536000]
Tue Aug 07 10:48:33 2018 Successful ARP Flush on interface [12] {44DF7648-E5BF-46D3-B850-524EC332BCFC}
Tue Aug 07 10:48:33 2018 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Tue Aug 07 10:48:33 2018 MANAGEMENT: >STATE:1533631713,ASSIGN_IP,,10.8.0.2,,,,
Tue Aug 07 10:48:33 2018 Blocking outside dns using service succeeded.
Tue Aug 07 10:48:33 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:48:33 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:48:33 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:48:34 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:48:38 2018 TEST ROUTES: 1/1 succeeded len=1 ret=1 a=0 u/d=up
Tue Aug 07 10:48:38 2018 MANAGEMENT: >STATE:1533631718,ADD_ROUTES,,,,,,
Tue Aug 07 10:48:38 2018 C:\WINDOWS\system32\route.exe ADD 192.168.0.0 MASK 255.255.0.0 10.8.0.1
Tue Aug 07 10:48:38 2018 Route addition via service succeeded
Tue Aug 07 10:48:38 2018 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Tue Aug 07 10:48:38 2018 Initialization Sequence Completed
Tue Aug 07 10:48:38 2018 MANAGEMENT: >STATE:1533631718,CONNECTED,SUCCESS,10.8.0.2,xx.xx.xx.xx,00,,
Tue Aug 07 10:48:43 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:48:45 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:48:47 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:48:49 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:48:53 2018 write to TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:49:14 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:49:14 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:49:25 2018 write to TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:50:38 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:51:11 2018 write to TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:51:25 2018 write to TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:51:36 2018 write to TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:51:47 2018 write to TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:52:13 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:52:33 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:52:43 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:52:43 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:52:52 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:52:52 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:52:52 2018 write to TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:53:35 2018 write to TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:53:54 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:53:56 2018 write to TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:54:20 2018 write to TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:54:23 2018 write to TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:54:33 2018 read from TUN/TAP : Unknown error (code=1450)
Tue Aug 07 10:54:33 2018 C:\WINDOWS\system32\route.exe DELETE 192.168.0.0 MASK 255.255.0.0 10.8.0.1
Tue Aug 07 10:54:33 2018 Route deletion via service succeeded
Tue Aug 07 10:54:33 2018 Closing TUN/TAP interface
Tue Aug 07 10:54:33 2018 TAP: DHCP address released
Tue Aug 07 10:54:33 2018 Unblocking outside dns using service succeeded.
Tue Aug 07 10:54:33 2018 SIGTERM[hard,] received, process exiting
Tue Aug 07 10:54:33 2018 MANAGEMENT: >STATE:1533632073,EXITING,SIGTERM,,,,,