LevelSix 12 Junior Poster in Training

Hello, I'm not sure if all of this is even completely possible, but I'm sure some of you will be able to tell me.

What I want to do is set up a desktop pc running linux (Kubuntu 8.10 possibly, a buntu of some sort anyways), which will have two NIC cards. One card will connect to an Ethernet jack in my dorm room, while the other will connect to a router. From the router I will connect a second desktop running Windows Vista, as well as a laptop (dual boot vista and Ubuntu 8.04). I want the second two machines to access the internet through the linux machine. Is it possible to set up such a configuration?