Installed OpenVPN on my Zgemma Star S just for checking:
Merk & model: Zgemma Star series
Chipset: Broadcom 7358
Totaal geheugen: 149472 kB vrij / 233756 kB totaal
Box Uptime: 0:04
Software
Systeem OE: PLi-OE
Firmware versie: OpenPLi 6.2-release (2018-06-01-release-6.2)
Kernel versie / stuurprogramma datum: 4.10.12 / 4.10.12-20180411-r0.1
root@sh1:~# opkg update
Downloading http://downloads.openpli.org/feeds/openpli-6-release/3rd-party/Packages.gz.
Updated source 'openpli-3rd-party'.
Downloading http://downloads.openpli.org/feeds/openpli-6-release/3rd-party-sh1/Packages.gz.
Updated source 'openpli-3rd-party-sh1'.
Downloading http://downloads.openpli.org/feeds/openpli-6-release/all/Packages.gz.
Updated source 'openpli-all'.
Downloading http://downloads.openpli.org/feeds/openpli-6-release/mips32el-nf/Packages.gz.
Updated source 'openpli-mips32el-nf'.
Downloading http://downloads.openpli.org/feeds/openpli-6-release/sh1/Packages.gz.
Updated source 'openpli-sh1'.
root@sh1:~# opkg install openvpn
Installing liblzo2-2 (2.09) on root.
Downloading http://downloads.openpli.org/feeds/openpli-6-release/mips32el-nf/liblzo2-2_2.09-r0.2_mips32el-nf.ipk.
Installing kernel-module-tun (4.10.12) on root.
Downloading http://downloads.openpli.org/feeds/openpli-6-release/sh1/kernel-module-tun_4.10.12-.1.1_sh1.ipk.
Installing openvpn (2.3.9) on root.
Downloading http://downloads.openpli.org/feeds/openpli-6-release/mips32el-nf/openvpn_2.3.9-r0.0_mips32el-nf.ipk.
Removing any system startup links for openvpn ...
Configuring liblzo2-2.
Configuring kernel-module-tun.
Configuring openvpn.
Adding system startup for /etc/init.d/openvpn.
root@sh1:~#
kernel-module-tun seems to be present.
But then.
Reboot, and (password and User editted out)
root@sh1:~# openvpn --config /home/root/client_willy.ovpn
Mon Aug 27 19:03:37 2018 OpenVPN 2.3.9 mipsel-oe-linux-gnu [SSL (OpenSSL)] [LZO] [EPOLL] [MH] [IPv6] built on May 9 2018
Mon Aug 27 19:03:37 2018 library versions: OpenSSL 1.0.2j 26 Sep 2016, LZO 2.09
Enter Auth Username:
Enter Auth Password:
Mon Aug 27 19:03:46 2018 Socket Buffers: R=[87380->87380] S=[16384->16384]
Mon Aug 27 19:03:46 2018 Attempting to establish TCP connection with [AF_INET]81.83.2.63:443 [nonblock]
Mon Aug 27 19:03:47 2018 TCP connection established with [AF_INET]x.x.x.x:443
Mon Aug 27 19:03:47 2018 TCPv4_CLIENT link local: [undef]
Mon Aug 27 19:03:47 2018 TCPv4_CLIENT link remote: [AF_INET]x.x.x.x:443
Mon Aug 27 19:03:47 2018 TLS: Initial packet from [AF_INET]x.x.x.x:443, sid=8f28fc4c 4fb5a6cf
Mon Aug 27 19:03:47 2018 WARNING: this configuration may cache passwords in memory -- use the auth-nocache option to prevent this
Mon Aug 27 19:03:47 2018 VERIFY OK: depth=1, O=WatchGuard_Technologies, OU=Fireware, CN=Fireware SSLVPN (SN 80DE078CAF904 2017-01-26 12:41:11 GMT) CA
Mon Aug 27 19:03:47 2018 Validating certificate extended key usage
Mon Aug 27 19:03:47 2018 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Mon Aug 27 19:03:47 2018 VERIFY EKU OK
Mon Aug 27 19:03:47 2018 VERIFY OK: depth=0, O=WatchGuard_Technologies, OU=Fireware, CN=Fireware SSLVPN Server
Mon Aug 27 19:03:48 2018 Data Channel Encrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Mon Aug 27 19:03:48 2018 Data Channel Encrypt: Using 256 bit message hash 'SHA256' for HMAC authentication
Mon Aug 27 19:03:48 2018 Data Channel Decrypt: Cipher 'AES-256-CBC' initialized with 256 bit key
Mon Aug 27 19:03:48 2018 Data Channel Decrypt: Using 256 bit message hash 'SHA256' for HMAC authentication
Mon Aug 27 19:03:48 2018 Control Channel: TLSv1.2, cipher TLSv1/SSLv3 ECDHE-RSA-AES256-GCM-SHA384, 2048 bit RSA
Mon Aug 27 19:03:48 2018 [Fireware SSLVPN Server] Peer Connection Initiated with [AF_INET]x.x.x.x:443
Mon Aug 27 19:03:50 2018 SENT CONTROL [Fireware SSLVPN Server]: 'PUSH_REQUEST' (status=1)
Mon Aug 27 19:03:50 2018 PUSH: Received control message: 'PUSH_REPLY,route 192.168.1.0 255.255.255.0,route 192.168.3.0 255.255.255.0,route 188.111.115.190 255.255.255.255,dhcp-option DNS 192.168.1.6,route-gateway 192.168.113.1,topology subnet,ping 10,ping-restart 60,ifconfig 192.168.113.3 255.255.255.0,peer-id 0'
Mon Aug 27 19:03:50 2018 OPTIONS IMPORT: timers and/or timeouts modified
Mon Aug 27 19:03:50 2018 OPTIONS IMPORT: --ifconfig/up options modified
Mon Aug 27 19:03:50 2018 OPTIONS IMPORT: route options modified
Mon Aug 27 19:03:50 2018 OPTIONS IMPORT: route-related options modified
Mon Aug 27 19:03:50 2018 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Mon Aug 27 19:03:50 2018 OPTIONS IMPORT: peer-id set
Mon Aug 27 19:03:50 2018 OPTIONS IMPORT: adjusting link_mtu to 1574
Mon Aug 27 19:03:50 2018 ROUTE_GATEWAY 192.168.178.1/255.255.255.0 IFACE=eth0 HWADDR=00:15:c0:36:95:6d
Mon Aug 27 19:03:50 2018 ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Mon Aug 27 19:03:50 2018 Exiting due to fatal error
root@sh1:~#
ERROR: Cannot open TUN/TAP dev /dev/net/tun: No such file or directory (errno=2)
Applying the fix from: https://github.com/t...ker/issues/1011
And a working VPN. Nothing to it.
But, There is a need for the application of the fix.
Willy