ok, I suppose I made something wrong before, because I've tried again what you told me first and it works fine:
setting IPEnableRouter=1 in both and checking firewall if any.
#server without topology subnet:
server 10.100.0.0 255.255.255.0
route 192.168.10.0 255.255.255.0
ccd:
ifconfig-push 10.100.0.10 10.100.0.9
iroute 192.168.10.0 255.255.255.0
ping from 192.168.10.x computers to 10.100.0.1 reply ok, so I checked routing tables and I saw that there was a route to 10.100.0.0/24 gw 10.100.0.2 on interface 10.100.0.1 with metric 1 so I tried the following:
#server WITH topology subnet
server 10.100.0.0 255.255.255.0
topology subnet
route 192.168.10.0 255.255.255.0 10.100.0.2
#adding above gw .2 instead of .1 is the key in order to make route works with topology subnet
ccd:
ifconfig-push 10.100.0.200 255.255.255.0
iroute 192.168.10.0 255.255.255.0
and it also works fine 🙂
thanks a million for your help!!