Fixes #4485: reapply modification in rudder 2.9 for allowed network