Hello
I actually found out that i have to use the routing between pies so i added static route between. the command for that is
add route -net 10.0.0.0/8 (remote lan address with mask) gw 192.168.0.1 (front interface of remote pi).
CLOSED!!