Mailinglist Archive: opensuse (4053 mails)

< Previous Next >
ipfwadm etc
  • From: (Ted Harding) <Ted.Harding@xxxxxxxxxxxxxxxx>
  • Date: Tue, 07 Aug 2001 17:25:25 +0100 (BST)
  • Message-id: <XFMail.010807172525.Ted.Harding@xxxxxxxxxxxxxxxx>
Here's something I'm not getting the hang of from the
documentation.

Say I have two machines: 192.168.0.1 and 192.168.0.2
on a LAN 192.168.0.0/255.255.255.0 (eth0)

Machine 192.168.0.1 does the dialups to connect to
the outside net, and when it does so gets a fixed
IP address say abc.def.gh.ijk (ppp0), at which point
'route' says

Destination Gateway Genmask Flags Metric Ref Use Iface
aa.bb.cc.dd * 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 * 255.255.255.0 U 0 0 16 eth0
loopback * 255.0.0.0 U 0 0 161 lo
default aa.bb.cc.dd 0.0.0.0 UG 0 0 0 ppp0

(where 'aa.bb.cc.dd' is the identity of the remote machine to which
the dialup is connected).

Otherwise 'route' says

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 17 eth0
loopback * 255.0.0.0 U 0 0 163 lo

192.168.0.1 is an old SuSE-5.1 installation.

The other machine, 192.168.0.2, is a new SuSE 7.2 instalaltion.

I want to allow the new one -- 192.168.0.2 -- access
to the Net via the old one -- 192.168.0.1 -- as gateway.

E.g. from 192.168.0.2 I want to be able to do things
like

telnet my.remote.useraccount.host
ftp my.remote.ftp.server
netscape some.webserver.somewhere

(preferably without using IP addresses), as if 192.168.0.2
were itself directly connected to the outside Net. (I have to
use a remote proxy -- port 3128 on the proxy server -- for
Web access which shouldn't be a problem if it can work at all,
since that's just another address on the Net).

I mainly want to have telnet, ftp and browser access;
I'm not really interested in other services.

So what, in your opinions, should be set up on each of the
machines? The things I've been led to try by the documentation
don't work, though I think I have the relevant executables
present on both machines, and as far as I can tell the kernels
should be OK for the job.

With thanks for any help,
Ted.

--------------------------------------------------------------------
E-Mail: (Ted Harding) <Ted.Harding@xxxxxxxxxxxxxxxx>
Fax-to-email: +44 (0)870 167 1972
Date: 07-Aug-01 Time: 17:25:25
------------------------------ XFMail ------------------------------

< Previous Next >
This Thread
  • No further messages