You can do that, but it would be best to get a router. If you will be connecting other computers wirelessly then get a wireless router, but if your not you can get a basic wired one. The router will provide a firewall for you which will help with your connection. I used to connect my xbox directly from my modem and had performance issue when playing online. When I got my router it solved that.