Support private and public network