Make sure that you've enabled IP and TUN/TAP forwarding on the OpenVPN server machine.
=> what is TUN/TAP? Do I need it here?
the VPN uses a tun or tap networking interface ; you need to make sure that traffic is forwarded between the tun (or tap) interface and the rest of the system; for this you need
- ip_forward to be enabled (do a 'cat /proc/sys/net/ipv4/ip_forward' to check)
- iptables rules if required to allow forwarding; alternatively , disable iptables for now
=> I have a certificate which was made by Synology, don't want to spend time to make 1 by myself for now, can this be done? I don't know how to extract/find the name within the certificate/chek or uncheck the duplicate cn-flag ...
yes this can be done but you need to get the Synology root CA certificate (which should be publicly available somewhere).
=> is this a line within the server config or a command line on the openvpn-server
normally this is a server config line ; make sure you use an absolute path for the directory, e.g.
client-config-dir /usr/local/synovpn/etc/openvpn/ccd
and make sure this directory is world readable
=> Can I add more routes to this file? For example
iroute 10.100.4.0
iroute ..
you can add as many iroutes in the CCD file as the system can handle
DS> touch "Synology Inc CA"
DS> vi Synology\ Inc\ CA
Doesn't seem right, does it?
yep, that's OK, but the name of a CA cert file does not need to be the same as the CA name itself; you could use 'ca.crt' as well.
DS> route add 10.100.4.0 netmask 255.255.255.0 gw 192.168.33.2
route: netmask 0000ffff and host route conflict
I'd try something like
route add -net 10.100.4.0/24 gw 192.168.33.2