From pbrun@sympatico.ca Sat Aug 8 03:42:35 1998
From: pbrun@sympatico.ca
To: users@lists.opensuse.org
Subject: Re: [S.u.S.E. Linux] access to internet
Date: Fri, 07 Aug 1998 23:42:35 -0400
Message-ID: <003001bdc27e$95a49120$0100a8c0@pbrun.sympatico.ca>
In-Reply-To: <[S.u.S.E. Linux] access to internet>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============6924914730517969501=="
--===============6924914730517969501==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
>I have a similar set up here. I use IP_MASQUERADING on the
>Linux box. In the fix /etc/rc.confg is where you need to
>set up masquerading. Actually I had a tough time getting it
>to work there so I went to the source at
>/sbin/init.d/masquerade. under start-for loop I added:
> ipfwadm -F -a m -S 192.168.1.10/24 -D 0.0.0.0/0
I tried the above set-up and it failed. I could not get any
traffic through the LAN.
eth0 is hooked up to the Internet
eth1 is hooked up to the Private LAN with two machines using
home LAN IP's.
What would I need to do on the client side and server side to
make this work?
Any help would be appreciated.
Thanks.
Paul
---------------------------------------------------------------
Pavel (Paul) Brun
Carleton University, Canada
Email: pbrun(a)sympatico.ca
Internet Pager: http://wwp.mirabilis.com/3731432>
Internet: http://www.public.asu.edu/~pbrun>
---------------------------------------------------------------
-
To get out of this list, please send email to majordomo(a)suse.com with
this text in its body: unsubscribe suse-linux-e
--===============6924914730517969501==--
From dwj@aaronsrod.com Sat Aug 8 04:19:16 1998
From: dwj@aaronsrod.com
To: users@lists.opensuse.org
Subject: Re: [S.u.S.E. Linux] access to internet
Date: Fri, 07 Aug 1998 21:19:16 -0700
Message-ID:
In-Reply-To: <003001bdc27e$95a49120$0100a8c0@pbrun.sympatico.ca>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============1931749397781478682=="
--===============1931749397781478682==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
On Fri, 7 Aug 1998, Paul Brun wrote:
>
> >I have a similar set up here. I use IP_MASQUERADING on the
> >Linux box. In the fix /etc/rc.confg is where you need to
> >set up masquerading. Actually I had a tough time getting it
> >to work there so I went to the source at
> >/sbin/init.d/masquerade. under start-for loop I added:
> > ipfwadm -F -a m -S 192.168.1.10/24 -D 0.0.0.0/0
>
>
> I tried the above set-up and it failed. I could not get any
> traffic through the LAN.
>
> eth0 is hooked up to the Internet
> eth1 is hooked up to the Private LAN with two machines using
> home LAN IP's.
What is the IP address assigned to eth0?
What is the IP address assigned to eth1?
Can you get your network working when IP masquerading is disabled?
If so, then what is the output of 'ifconfig' and 'route -n'?
Dwight
-
To get out of this list, please send email to majordomo(a)suse.com with
this text in its body: unsubscribe suse-linux-e
--===============1931749397781478682==--
From leonmcclatchey@homemail.com Sat Aug 8 19:58:39 1998
From: leonmcclatchey@homemail.com
To: users@lists.opensuse.org
Subject: Re: [S.u.S.E. Linux] access to internet
Date: Sat, 08 Aug 1998 14:58:39 -0500
Message-ID: <35CCADEF.11F64DC4@homemail.com>
In-Reply-To: <003001bdc27e$95a49120$0100a8c0@pbrun.sympatico.ca>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="===============4995118573984261996=="
--===============4995118573984261996==
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Paul Brun wrote:
> I tried the above set-up and it failed. I could not get any
> traffic through the LAN.
>
> eth0 is hooked up to the Internet
> eth1 is hooked up to the Private LAN with two machines using
> home LAN IP's.
>
On both the Client and Server, you have to make sure that all your hosts
are properly defined. Both on Linux, and Win95, there are the following
files (on the win95 machine, you will find them in the windows
directory). host, networks, lmhosts, (there are a couple of others as
well, but it's been awhile since I set it up here:). On the linux side,
you will find those files in /etc.
At any rate, check those files and make sure that your hosts are defined
on both sides.
The next thing to do is to set up a proxy server on Linux. When I first
set my network up, I used apache and used port 80 as the proxy port.
Lately however, I've been playing a bit with squid and have found that
setting up port 3128 (default) works just as good. Squid seems to work a
little bit better since it handles caching a bit better than Apache
does:-) However, Apache can handle the different protocols easier
(gopher, ftp, etc) whereas squid seems to want an external application to
handle ftp requests.
As far as the mail goes, you will have to set up your linux box as a mail
server, as the mail won't go thru a proxy server:-( As far as that goes,
I've got fetchmail set up to pull in the mail from my IP and then
sendmail distributes it to the various users who can pick it up at their
leisure:-)
That's pretty much it in a nutshell:-)
> What would I need to do on the client side and server side to
> make this work?
> Any help would be appreciated.
> Thanks.
> Paul
>
> ---------------------------------------------------------------
> Pavel (Paul) Brun
> Carleton University, Canada
> Email: pbrun(a)sympatico.ca
>
> Internet Pager: http://wwp.mirabilis.com/3731432>
> Internet: http://www.public.asu.edu/~pbrun>
> ---------------------------------------------------------------
>
> -
> To get out of this list, please send email to majordomo(a)suse.com with
> this text in its body: unsubscribe suse-linux-e
--
cya l8r
Leon McClatchey
leonmcclatchey(a)homemail.com
Linux User 78912 (Win95 Box)
-
To get out of this list, please send email to majordomo(a)suse.com with
this text in its body: unsubscribe suse-linux-e
--===============4995118573984261996==--