hi ben,
yep, you could use ipmasq for this. now, depending on your kernel you'll
need to set this up differently.
***
if you are still using a v2.0.x kernel, you'd use the real ipmasq:
http://www.tor.shaw.wave.ca/~ambrose/
http://howto.linuxberg.com/LDP/HOWTO/mini/IP-Masquerade.html
basically you'll compile to proper support into the kernel then turn it using
something like the following (this is for my lan, not yours...):
ipfwadm -F -p deny
ipfwadm -F -a m -S 192.168.0.2/24 -D 0.0.0.0/0
( my NT box ) ( the net, use the zeros )
now, provided the two machines could ping eachother before you started this,
and the workstation is setup with the server's ip as it's gateway etc, fire
up netscape and you should be up.
***
if you are using a v2.2.x kernel, you'll use ipchains instead of ipmasq:
http://howto.linuxberg.com/LDP/HOWTO/IPCHAINS-HOWTO.html
there are links to some scripts there that act as a ipfwadm wrapper to
ipchains. so get ipchains working in the kernel, then you'd run
ipfwadm-wrapper with the above syntax to do the same thing using ipchains.
now, it would be better to go ahead and learn how to do it with ipchains, but
using the wrapper scripts works fine. it's pretty cool, you can surf, quake, ftp,
irc, just about whatever you want from your workstation with linux happily
routing all your packets.
Benjamin Vera-Tudela wrote:
> Hi folks ... I have a question ... I got a linux box that acts as my
> server, has a modem (sorry, no RR yet!!!) and another linux box which
> serves as my powerful workstation. they are connected via 10B/T (direct
> link) and I will eventually be getting cable modem on my server. however,
> in the meantime, I would like to be able to connect my server to UT via
> dialup (I can do this right now) and be able to use netscape or telnet or
> any other networking services on my workstation. How can I configure both
> systems to be able to do this? I am aware of some terminology such as IP
> forwarding (which my linux boxes turn off during startup, so I need to
> know how to turn it on) and other terms such as masquerading, which I have
> no clue how to play with. Can anybody let me know the steps to have my
> server forward IP packets to my workstation? Thanks!!!
>
> Benjamin S. Vera-Tudela
> Computer Sciences Dept., UT Austin
> http://www.cs.utexas.edu/users/mrbenji
>
> ---------------------------------------------------------------------------
> Send administrative requests to [EMAIL PROTECTED]
--
Tom Carlile [EMAIL PROTECTED]
"It is easy to sympathize with the MIS staffs around the world, I mean who hasn't
lost work due to Windows or a Microsoft application crashing?"
-- Chris DiBona, happy he's been using Linux and can avoid such things, from
the introduction.
---------------------------------------------------------------------------
Send administrative requests to [EMAIL PROTECTED]