Depends on the operating system you are using and what you want to do and whether or not your ISP supports this.
Windows98 SE comes with ICS (Internet Connection Sharing)... earlier versions do not... but other software may be available. You are looking for proxy software... there's probably even shareware that could be explored and used for a time.
Routers or even Gateways can be used as well. They have the additional benefit of adding a NAT (Network address translation) or a very minimal firewall type of protection. You are talking approx $150 for a firewall/router/gateway hardware solution; but I'd get input from others using your ISP and see what they do. Some ISP's are doing very different things and even the same company,may have different security concerns in different phisical locations.
Ultimately you need to firgure out what your level of comfort is (security-wise -- whether you leave your computers on and what the risk is to your information), and what your ISP requires and whether a software solution alone, is enough.
end-of-message