Resilient farms network under sustainable forest management