add private ip support