Thank you very much Traffic.
Thank you for showing me those mistake with my config files.
I changed now the Router and the Client config according to the Man Page you shown me.
It is really a big help.
I think I will need the rest of the Day to check this out.
I will post in the evening if I did succed,
I still don't know how to solve my Addressing Problem (this is the main reason why I want to route the whole subnet).
As far as I was reading and trying I need either to make NAT or to use the Iptables rules to rewrite the addresses.
So in the end I will solve this scenario:
[client 1] -> -> [Router1] -> [client 1-20]
10.10.0.1 10.9.0.1/192.168.1.1 192.168.1.-192.168.20
[server]
10.8.0.1
[client 2] -> -> [Router2] -> [client 1-20]
10.10.0.2 10.9.0.2/192.168.1.1 192.168.1.-192.168.20
On the weekend I did succed with setting up the tunnel and ping'ing the router.
my config looks at the moment like this (before reading the man page!):
port 1194
proto udp
dev tun
ca ca.crt
cert server.crt
key server.key
dh dh1024.pem
server 10.8.0.0 255.255.255.0
ifconfig-pool-persist ipp
client-config-dir ccd
push "route 10.8.0.0 255.255.255.0"
push "route 10.9.1.0 255.255.255.0"
~~~~~~~~~~~~~~~~~~~~~~~~~
push "route 10.9.10.0 255.255.255.0"
push "route 10.10.1.0 255.255.255.0"
~~~~~~~~~~~~~~~~~~~~~~~~~
push "route 10.10.10.0 255.255.255.0"
route 10.9.1.0 255.255.255.0
~~~~~~~~~~~~~~~~~~~~~~~~~
route 10.9.8.0 255.255.255.0
route 192.168.10.0 255.255.255.0
client-to-client
keepalive 10 1440
comp-lzo
persist-key
persist-tun
status openvpn-status.log
log /var/log/bz_old_openvpn.log
log-append /var/log/bz_old_openvpn.log
verb 6
mute 50
my ccd file for the first router (also before reading the article) looks like this:
iroute 10.10.1.0 255.255.255.0
Thank you very much