Ich bekomme die Konfigurion von OpenVPN4UCS nicht zum laufen.
Folgendes Netzwerk:
UCS-DC: 192.168.2.90/24
UCS-BDC: 192.168.2.254/24 - hier ist OpenVPN installiert
Im Router (AVM 6590) ist der Port 1194 an den 192.168.2.254 weitergeleitet (UDP)
Ich habe einen öffentlichen DynDNS-Eintrag: http://dyndnsname.selfthost.eu
root@ucs002254:~# systemctl status openvpn -l
● openvpn.service - OpenVPN service
Loaded: loaded (/lib/systemd/system/openvpn.service; enabled; vendor preset: enabled)
Active: active (exited) since Fri 2020-07-10 21:56:10 CEST; 16h ago
Process: 6890 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 6890 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
Memory: 0B
CPU: 0
CGroup: /system.slice/openvpn.service
Jul 10 21:56:10 ucs002254 systemd[1]: Starting OpenVPN service...
Jul 10 21:56:10 ucs002254 systemd[1]: Started OpenVPN service.
root@ucs002254:~# netstat -tulpn | grep 1194
udp 0 0 0.0.0.0:1194 0.0.0.0:* 6905/openvpn
root@ucs002254:~# univention-ldapsearch cn=ucs002254 univentionOpenvpnPort univentionOpenvpnActive univentionOpenvpnNet univentionOpenvpnAddress
# extended LDIF
#
# LDAPv3
# base <dc=mykeysoft,dc=lan> (default) with scope subtree
# filter: cn=ucs002254
# requesting: univentionOpenvpnPort univentionOpenvpnActive univentionOpenvpnNet univentionOpenvpnAddress
#
# ucs002254, dc, computers, mykeysoft.lan
dn: cn=ucs002254,cn=dc,cn=computers,dc=mykeysoft,dc=lan
univentionOpenvpnPort: 1194
univentionOpenvpnNet: 192.168.9.0/24
univentionOpenvpnActive: 1
univentionOpenvpnAddress: dyndnsname.selfhost.eu
# search result
search: 3
result: 0 Success
# numResponses: 2
# numEntries: 1
root@ucs002254:~# univention-run-join-scripts --force --run-scripts 94univention-openvpn-master
univention-run-join-scripts: runs all join scripts existing on local computer.
copyright (c) 2001-2020 Univention GmbH, Germany
Enter DC Master Account : Administrator
Enter DC Master Password:
Search LDAP binddn: done
Running pre-joinscripts hook(s): done
Running 94univention-openvpn-master.inst done
Running post-joinscripts hook(s): done
Ich habe dann dass Ready2Go Paket vom DC geladen und versucht eine Verbindung herzustellen.