use ubuntu server as a gateway