As a quick fix I had to change the protocol from UDP to TCP and that solved it. But the communication became unidirectional that is from the client net I can access the nodes on the server net. But not the other way around. Right now I cannot change anything on the client side since that node is on a different location (think of it on the moon). So the only way to play around is to change config on the server side. I want to be able to reach client net from the server net. Or particular nodes on the client net.
I have tried to add the following on the server side config without any success
My configs look like this. Any chance to get this working on TCP and without changing anything on the client side?
Client side net is 192.168.1.0 and has this config
ifconfig 10.1.0.2 10.1.0.1
-----END RSA PRIVATE KEY-----
Server side has 192.168.0.0 net and this config
ifconfig 10.1.0.1 10.1.0.2
route 192.168.1.0 255.255.255.0
push "route 192.168.0.0 255.255.255.0"
push "route 10.1.0.0 255.255.255.0"
keepalive 10 300