Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Apr 1996 23:43:37 +0930 (CST)
From:      Michael Smith <msmith@atrad.adelaide.edu.au>
To:        70573.1405@CompuServe.COM (Jose F. Reyes)
Cc:        questions@FreeBSD.org
Subject:   Re: Questions about gateways and ppp
Message-ID:  <199604071413.XAA06635@genesis.atrad.adelaide.edu.au>
In-Reply-To: <960407122941_70573.1405_CHU34-1@CompuServe.COM> from "Jose F. Reyes" at Apr 7, 96 08:29:41 am

next in thread | previous in thread | raw e-mail | index | archive | help
Jose F. Reyes stands accused of saying:
> 
> I purchased FreeBSD 2.1 from Walnut Creek CD-ROM and have it running on a 486
> with an ethernet card and a modem. My intention is to use it as a gateway to
> allow my other (Windows) PC's to access the Internet via a dialup connection,
> at present thru CompuServe, but later on thru a local, dedicated ISP. I also
> want to run an httpd server "on the side".

Your problem will be that Compuserve will only be routing the one address,
the one they give you, to your connection.  Whatever addresses you've
assigned your other local systems won't be recognised by the rest of
the 'net.

Your best bet is to run the 'socks' proxy on your FreeBSD system.  I can't
say for sure whether Microsoft's poxy Explorer supports the socks protocol,
but Netscape does, which should give you the sort of capability you want.

Check http://www.socks.nec.com/ for a discussion of what socks is.  
FreeBSD is a supported platform for the latest release; also check the 
-hackers mailing list archive for discussions regarding the new release
of socks (I believe that a port has been prepared, but I'm not sure
where it was uploaded).

> I have set "gateway=YES" and "gated=YES" in /etc/sysconfig, and when the

You want "gated=NO", as you don't have, or want, gated.

> 1. When the system boots, the acknowledgement line for the tun0 device reads:
>    "tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500". This line does not
>    show "RUNNING", nor is there a second line

That's OK.  The tun0 interface isn't configured until the ppp program 
brings the link up.

> 2. When I try to run ppp -auto compuserve, the last message line reads:
>    "Must specify dstaddr with auto mode". I imagine it dstadrr means CompuServe's
>    gateway address, but I do not know it (only gateway.compuserve.com) and
>    if I do a "show IPCP" while connected manually, "HISADDR" is always different
>    for every connection.

It most likely means that you have a syntax error in your config file.

> 3. After the manual connection has been up for a few minutes, I get the message:
>    "routed[50]: deleting route to interface tun0 (timed out)". However, the
>    link keeps running.

You have 'routed=YES' in /etc/sysconfig.  Set it to NO as well.

> Jose F. Reyes

-- 
]] Mike Smith, Software Engineer        msmith@atrad.adelaide.edu.au    [[
]] Genesis Software                     genesis@atrad.adelaide.edu.au   [[
]] High-speed data acquisition and      (GSM mobile) 0411-222-496       [[
]] realtime instrument control          (ph/fax)  +61-8-267-3039        [[
]] Collector of old Unix hardware.      "Where are your PEZ?" The Tick  [[



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199604071413.XAA06635>