Set gateway for all networks if specified not just for public