Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 May 2000 20:40:10 -0700
From:      Kent Stewart <kstewart@3-cities.com>
To:        Darren Wyn Rees <merlin@netlink.co.uk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ppp 'set filter' question
Message-ID:  <3917889A.411D6085@3-cities.com>
References:  <20000508215244.K13317@netlink.co.uk> <39174057.FFB18636@3-cities.com> <20000509014736.E21948@netlink.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help


Darren Wyn Rees wrote:
> 
> Kent Stewart <kstewart@3-cities.com> :
> 
> > Personally, I setup user-ppp to auto start in the background, nat, and
> > demand dial. I currently have a runppp.sh in .../rc.d. I usually ping
> 
> I don't have an 'rc.d' (though I had an /etc/rc.d/ with Linux).
> I suppose I should be putting any file to put ppp in the background
> (as per your suggestion above) in /etc/rc.conf ?

You don't do that until you make it work. It is physically
/usr/local/etc/rc.d. The example for version 4.x is different but I
already had that script.

The UK ISP's are different. I only had to take the pmdemand example
from ppp.conf.sample and add my user name and password to the the set
login and it worked. You also need your rc.conf setup to tell your
system it will act like a gateway. My setup came straight out of
/usr/share/examples/ppp/ppp.conf.sample. 


> 
> > my ISP and it dials. I use an alias to
> > ping -n 10 -w 10000 my.isp.com.
> >
> > Unless there is a problem of some sort, I start getting a response on
> > the 3rd ping. If it times out completely, something is going on and I
> > go down to my gateway computer with the modem to see and hear what is
> > happening. I use user-ppp because it is easy to drop, dial, and quit
> > all using pppctl.
> 
> Ah, but what filters do you use in your ppp.conf file ?
> 
> Your ping above makes user-ppp dial out (because it's in demand
> dial / auto mode).  But what do you use to stop any other
> traffic to the 'outside' causing a dial out ?

I have resolv.conf setup with host and then bind. DNS is on my ISP DNS
server. My computers all have a host file with the other computers on
my internal network in it. 

The ppp.conf has "alias deny_incoming yes". The Windows 2000 has a
WINS server on it, which lets me browse from the Win machines. I only
run Win 98 when I have to and the rest of the time they run Win 2000.
The 2000 server is always running. None of them have Netbeui in
stalled but they do all allow netbios on tcp/ip. A side effect that
doesn't matter in my case is Netscape Navigator on W2K is used to
access my FreeBSD manuals from Apache running on my gateway. That will
cause a dial out. If I had my local computers pointing to FreeBSD as
the mail server, that wouldn't happen. 

I did use the examples on denying ICMP and DNS keep alives and ICMP's
weren't permitted to cause a dial out. I'm not charged for time and
there was no incentive to doing too much.

Getting your system to dial out is the first problem. The rest is a
tweak on something that works.

Kent

> 
> Thanks for your help !
> 
>         Darren

-- 
Kent Stewart
Richland, WA

mailto:kstewart@3-cities.com
http://www.3-cities.com/~kstewart/index.html
FreeBSD News http://daily.daemonnews.org/

SETI(Search for Extraterrestrial Intelligence) @ HOME
http://setiathome.ssl.berkeley.edu/

Hunting Archibald Stewart, b 1802 in Ballymena, Antrim Co., NIR
http://www.3-cities.com/~kstewart/genealogy/archibald_stewart.html


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3917889A.411D6085>