There was an error in my previous updates. I have verified the openvpn.log when the local statement is commented. There is no error message in the log, as you can see below, but port 1194 is still not opened. It seems not assigned to any ip, but I don't know raspbian enought to be sure of that.
[listThu Apr 20 08:17:12 2017 OpenVPN 2.3.4 arm-unknown-linux-gnueabihf [SSL (OpenSSL)] [LZO] [EPOLL] [PKCS11] [MH] [IPv6] built on Jan 23 2016
Thu Apr 20 08:17:12 2017 library versions: OpenSSL 1.0.1t 3 May 2016, LZO 2.08
Thu Apr 20 08:17:12 2017 Control Channel Authentication: using '/etc/openvpn/easy-rsa/keys/ta.key' as a OpenVPN static key file
Thu Apr 20 08:17:12 2017 TUN/TAP device tun0 opened
Thu Apr 20 08:17:12 2017 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
Thu Apr 20 08:17:12 2017 /sbin/ip link set dev tun0 up mtu 1500
Thu Apr 20 08:17:12 2017 /sbin/ip addr add dev tun0 local 10.8.0.1 peer 10.8.0.2
Thu Apr 20 08:17:13 2017 GID set to nogroup
Thu Apr 20 08:17:13 2017 UID set to nobody
Thu Apr 20 08:17:13 2017 UDPv4 link local (bound): [undef]
Thu Apr 20 08:17:13 2017 UDPv4 link remote: [undef]
Thu Apr 20 08:17:13 2017 Initialization Sequence Completed
][/list]
Then, the command
netstat -tlnpu | grep 1194 shows:
- root@raspberrypi:/var/log# netstat -tlnpu | grep 1194
udp 0 0 0.0.0.0:1194 0.0.0.0:* 416/openvpn
and the command
ps xauf | grep openvpn shows:
- root@raspberrypi:/var/log# ps xauf | grep openvpn
nobody 416 0.0 0.6 5528 2900 ? Ss 08:27 0:00 /usr/sbin/openvpn --daemon ovpn-server --status /run/openvpn/server.status 10 --cd /etc/openvpn --config /etc/openvpn/server.conf
root 1020 0.0 0.4 4268 1840 pts/0 S+ 08:47 0:00 \_ grep openvpn
root@raspberrypi:/var/log#
I don't know how to continue with this. Any help welcome!