![](https://seccdn.libravatar.org/avatar/2e846a486bb47d24595d540de089fe0d.jpg?s=120&d=mm&r=g)
Jethro Cramp wrote:
I have setup an old pc with SuSE 7.0 and networked it with a hub to my laptop.
On my desktop I have a modem configured. I would like to set things up now so that my laptop can accecss the internet over the LAN using the modem on the desktop. The services that I want to use on the internet from the laptop are:
HTTP FTP POP3 SMTP
My dilemma is where to start looking. From skimming the SuSE Manual and various HOW-TO's it seems that I have a choice of options:
1) Set up the desktop as a router for all tcp/ip traffic. 2) Set up a proxy on the desktop.
I would like to use whichever method is easiest to setup. Anyone got any comments on the above idea or better suggestions?
1) would be the easiest to set up. I'll give some instructions here that should work. However, security is entirely non-existent, and you will have to manually dial up on the old PC (unless you have diald set up). If you want a hand with setting up diald or in setting up security on the old PC (which is essential for any consistent usage) then let me know. The starting points would be the IPCHAINS-HOWTO and the man pages for ipchains and diald. Here are some quick and easy steps. On your laptop (as root): route add default gw <ip address of old pc> You'll also have to set up your /etc/resolv.conf with the IP addresses of your ISP's DNS servers (so that it looks the same as the one on the old PC when it's connected). On your old PC (as root): echo 1 > /proc/sys/net/ipv4/ip_forward ipchains -P forward MASQ This does assume you have a basic network set up such that you can ping each computer from the other. If you don't, and need a hand, let us know and someone will help. Remember, this setup is *not* secure. Hope that helps, Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\