Well, for starters, you should go over to the
tutorials section of this site: here's an article to get you started:
Linux Router. The most important tool to route your Internet packets from your server to your LAN is
iptables.
If you want to run your own hobby LAN, you will just have to do a lot of reading. Click through the references in my .sig; "Setting up a Linux Gateway" will probably be of interest to you.