ip filter, but it's very troublesome, you need to know exactly which port to open and to close, also some applications in your computer like IE, will use dynamic ports, so it's hard to close them.