I think iptables is the first thing you should get to know, at iptables.org - it can be used for firewalling, but also for NAT, masquerading, forwarding and much more. Read some documentation at their site to get a better picture of what it can do. Internet connection sharing, for example, can quite easily be done with iptables, and I don't really think the rest is much more difficult..
|