Thank you, after making the changes you suggest I had to add to "client A" configuration:
route 10.10.0.0 255.255.255.0
But there there is still problem I can "ping 10.10.0.2" (from Client --> Server)
though, I can not ping "Server --> Client) on the server when I try to ping the client it doesn't work "ping 10.0.0.100" (this is the client).
Configuration "Client A"
client
dev tun
proto udp
port 9080
topology subnet
remote 66.18.xxx.xxx 90xx
route 10.10.0.0 255.255.255.0
persist-local-ip
persist-remote-ip
resolv-retry infinite
tun-mtu 1500
tun-mtu-extra 32
mssfix 1200
persist-key
persist-tun
remote-cert-tls server
ca "/etc/openvpn/client_amd/ca.crt"
cert "/etc/openvpn/client_amd/syscon9.crt"
key "/etc/openvpn/client_amd/syscon9.key"
tls-auth "/etc/openvpn/client_amd/vpn_my.key" 1
comp-lzo
log /var/log/openvpn.log
log-append /var/log/openvpn.log
verb 3
route -n (client A)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
...
10.10.0.0 192.168.139.1 255.255.255.0 UG 0 0 0 tun1
192.168.139.0 0.0.0.0 255.255.255.0 U 0 0 0 tun1
So the above is correct.
On the "Server B"
port 9000
proto udp
dev tun
ca /usr/share/openvpn/easy-rsa/keys/ca.crt
cert /usr/share/openvpn/easy-rsa/keys/server.crt
key /usr/share/openvpn/easy-rsa/keys/server.key
dh /usr/share/openvpn/easy-rsa/keys/dh1024.pem
topology subnet
server 192.168.139.0 255.255.255.0
route 10.0.0.0 255.255.255.0
persist-local-ip
persist-remote-ip
client-to-client
ifconfig-pool-persist ipp.txt
client-config-dir ccd
keepalive 10 120
tls-auth vpn_my.key 0
tun-mtu 1500
tun-mtu-extra 32
mssfix 1200
comp-lzo
max-clients 100
persist-key
persist-tun
status openvpn-status.log
log /var/log/openvpn.log
log-append /var/log/openvpn.log
verb 3
cat ccd/syscon9
ifconfig-push 192.168.139.7 255.255.255.0
iroute 10.0.0.0 255.255.255.0
route -n (Server B)
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.10.0.0 0.0.0.0 255.255.255.0 U 2 0 0 eth0
192.168.139.0 0.0.0.0 255.255.255.0 U 0 0 0 tun0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
0.0.0.0 10.10.0.1 0.0.0.0 UG 2 0 0 eth0
I don't see in the above:
10.0.0.0 192.168.139.7 255.255.255.0 UG 0 0 0 tun0