nat test for Linux and Windows