conversion between private->public->IP