Jump to content


dr_virus

Member Since 17 Dec 2007
Offline Last Active 25 Sep 2021 11:14
-----

Posts I've Made

In Topic: OpenVPN error

25 September 2021 - 10:45

My box was running 8.1 and i did the online update


In Topic: OpenVPN error

25 September 2021 - 07:14

I am bringing back this post because after my online update ( update 09/17/2021 ) on openpli 8.1 openvpn dont work .

 

Openvpn is installed tun  but my Edision Mio 4K dont see it .

 

Commands :

 

root@osmio4k:~# opkg install openvpn
No packages installed or removed.
root@osmio4k:~# opkg install kernel-module-tun
No packages installed or removed.
root@osmio4k:~# mknod /dev/net/tun c 10 200
mknod: /dev/net/tun: File exists
root@osmio4k:~# modinfo tun
modinfo: ERROR: Module tun not found.
root@osmio4k:~#

 

Openvpn log :

2021-09-25 08:49:18 us=264093 --cipher is not set. Previous OpenVPN version defaulted to BF-CBC as fallback when cipher negotiation failed in this case. If you need this fallback please add '--data-ciphers-fallback BF-CBC' to your configuration and/or add BF-CBC to --data-ciphers.
2021-09-25 08:49:18 us=264752 WARNING: file '/etc/openvpn/osc/home1.key' is group or others accessible
2021-09-25 08:49:18 us=264833 Current Parameter Settings:
2021-09-25 08:49:18 us=264863   config = '/etc/openvpn/client.conf'
2021-09-25 08:49:18 us=264891   mode = 0
2021-09-25 08:49:18 us=264918   persist_config = DISABLED
2021-09-25 08:49:18 us=264944   persist_mode = 1
2021-09-25 08:49:18 us=264971   show_ciphers = DISABLED
2021-09-25 08:49:18 us=264997   show_digests = DISABLED
2021-09-25 08:49:18 us=265024   show_engines = DISABLED
2021-09-25 08:49:18 us=265050   genkey = DISABLED
2021-09-25 08:49:18 us=265077   genkey_filename = '[UNDEF]'
2021-09-25 08:49:18 us=265103   key_pass_file = '[UNDEF]'
2021-09-25 08:49:18 us=265130   show_tls_ciphers = DISABLED
2021-09-25 08:49:18 us=265156   connect_retry_max = 0
2021-09-25 08:49:18 us=265183 Connection profiles [0]:
2021-09-25 08:49:18 us=265210   proto = tcp-client
2021-09-25 08:49:18 us=265236   local = '[UNDEF]'
2021-09-25 08:49:18 us=265263   local_port = '[UNDEF]'
2021-09-25 08:49:18 us=265289   remote = '**.**.**.**'
2021-09-25 08:49:18 us=265315   remote_port = '@@@@@'
2021-09-25 08:49:18 us=265341   remote_float = DISABLED
2021-09-25 08:49:18 us=265367 NOTE: --mute triggered...
2021-09-25 08:49:18 us=265406 217 variation(s) on previous 20 message(s) suppressed by --mute
2021-09-25 08:49:18 us=265434 OpenVPN 2.5.0 arm-oe-linux-gnueabi [SSL (OpenSSL)] [LZO] [LZ4] [EPOLL] [MH/PKTINFO] [AEAD] built on Sep 17 2021
2021-09-25 08:49:18 us=265484 library versions: OpenSSL 1.1.1g  21 Apr 2020, LZO 2.10
2021-09-25 08:49:18 us=267156 WARNING: No server certificate verification method has been enabled.  See http://openvpn.net/howto.html#mitm for more info.
2021-09-25 08:49:18 us=271991 Control Channel MTU parms [ L:1623 D:1210 EF:40 EB:0 ET:0 EL:3 ]
2021-09-25 08:49:18 us=272174 Data Channel MTU parms [ L:1623 D:1450 EF:123 EB:406 ET:0 EL:3 ]
2021-09-25 08:49:18 us=272323 Local Options String (VER=V4): 'V4,dev-type tun,link-mtu @@@,tun-mtu 1500,proto TCPv4_CLIENT,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-client'
2021-09-25 08:49:18 us=272369 Expected Remote Options String (VER=V4): 'V4,dev-type tun,link-mtu @@@,tun-mtu 1500,proto TCPv4_SERVER,cipher BF-CBC,auth SHA1,keysize 128,key-method 2,tls-server'
2021-09-25 08:49:18 us=272434 TCP/UDP: Preserving recently used remote address: [AF_INET]**.**.**.**:@@@@@
2021-09-25 08:49:18 us=272525 Socket Buffers: R=[131072->131072] S=[16384->16384]
2021-09-25 08:49:18 us=272565 Attempting to establish TCP connection with [AF_INET]**.**.**.**:@@@@@ [nonblock]
2021-09-25 08:49:18 us=330019 TCP connection established with [AF_INET]**.**.**.**:@@@@@
2021-09-25 08:49:18 us=330158 TCP_CLIENT link local: (not bound)
2021-09-25 08:49:18 us=330193 TCP_CLIENT link remote: [AF_INET]**.**.**.**:@@@@@
WR2021-09-25 08:49:18 us=386109 TLS: Initial packet from [AF_INET]**.**.**.**:@@@@@, sid=7377e6f4 37128b95
WWRWR2021-09-25 08:49:18 us=556893 VERIFY OK: depth=1, C=GE, ST=ST, L=STUTTGARD, O=Happy_Meals, CN=Happy_Meals CA, emailAddress=1234@****.com
2021-09-25 08:49:18 us=557432 VERIFY OK: depth=0, C=GE, ST=ST, L=STUTTGARD, O=Happy_Meals, CN=server, emailAddress=m854@myinet.com
RWWWWRRRWW2021-09-25 08:49:18 us=715722 Control Channel: TLSv1.3, cipher TLSv1.3 TLS_AES_256_GCM_SHA384, 1024 bit RSA
2021-09-25 08:49:18 us=715841 [server] Peer Connection Initiated with [AF_INET]**.**.**.**:*****
2021-09-25 08:49:19 us=945229 SENT CONTROL [server]: 'PUSH_REQUEST' (status=1)
WRR2021-09-25 08:49:20 us=55072 PUSH: Received control message: 'PUSH_REPLY,route 10.10.0.0 255.255.255.0,topology net30,ping 10,ping-restart 120,ifconfig 10.10.0.222 10.10.0.221,peer-id 0,cipher AES-256-GCM'
2021-09-25 08:49:20 us=55364 OPTIONS IMPORT: timers and/or timeouts modified
2021-09-25 08:49:20 us=55406 OPTIONS IMPORT: --ifconfig/up options modified
2021-09-25 08:49:20 us=55471 OPTIONS IMPORT: route options modified
2021-09-25 08:49:20 us=55497 OPTIONS IMPORT: peer-id set
2021-09-25 08:49:20 us=55522 OPTIONS IMPORT: adjusting link_mtu to 1626
2021-09-25 08:49:20 us=55548 OPTIONS IMPORT: data channel crypto options modified
2021-09-25 08:49:20 us=55579 Data Channel: using negotiated cipher 'AES-256-GCM'
2021-09-25 08:49:20 us=55635 Data Channel MTU parms [ L:1554 D:1450 EF:54 EB:406 ET:0 EL:3 ]
2021-09-25 08:49:20 us=55932 Outgoing Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2021-09-25 08:49:20 us=55970 Incoming Data Channel: Cipher 'AES-256-GCM' initialized with 256 bit key
2021-09-25 08:49:20 us=56297 ROUTE_GATEWAY 192.168.1.1/255.255.255.0 IFACE=eth0 HWADDR=5c:fa:00:00:15:7e
2021-09-25 08:49:20 us=59014 ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such device (errno=19)
2021-09-25 08:49:20 us=59119 Exiting due to fatal error

 

Any idea ?

 

By the way receiver gets the proper date & time .