change public network to private network