*BSD News Article 49168


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.sprintlink.net!news.onramp.net!news.tcst.com!dildog.lgc.com!news.sesqui.net!news.blkbox.COM!news.hal-pc.org!usenet
From: jhupp@gensys.com (Jeff Hupp)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Dial-on-demand internet connection?
Date: Wed, 16 Aug 1995 10:45:19 GMT
Organization: Gensys Technologies
Lines: 39
Message-ID: <40si87$cfp@news.hal-pc.org>
References: <40r65d$bc8@central.co.nz>
Reply-To: jhupp@gensys.com
NNTP-Posting-Host: wks1.gensys.com
X-Newsreader: Forte Free Agent 1.0.82

dreama@central.co.nz (Mark Penney) wrote:

:Hi,

:Has anybody ever set up FreeBSD 2.0 as a dial-on-demand internet gateway?

:My initial requirement if for email.  I would like to have my FreeBSD box 
:on the lan, with a modem hooked up to it.  When someone sends email from 
:Pegasus mail on their PC on the lan it goes to the FreeBSD box that dials 
:the internet provider (PPP) and sends the email.  When it is connected, 
:and on a regular basis, it would also grab the email that is waiting for 
:us and put it into users POP mailboxes for them to grab later.

:Later on I would like all outgoing services (telnet, ftp, www, etc.) to 
:be able to go via the dial-on-demand gateway.

:I know that I can get the provider to not bounce mail for (say) 12 hours, 
:and I have a domain registered and a class C internet address.  What I am 
:looking for is information on how to set up the FreeBSD box to handle 
:this, what s/w I need, etc.

	The 'right' way to do this is via UUCP.  This is the way to get mail
for more then one user ID and you can have it forward it to Mercury on
your Novell server via smtp.  You can also set-up Taylor UUCP to check
for work (outgoing mail) every five minutes and call the provider if
there is any work.  You would also have to have it make a call every
hour or so to see if any new mail came in when you didn't have any
outgoing.  All the software for this comes with the 2.0 distrabution.

	If you feel you must use PPP, then you are going to have to move to
2.0.5 to get the dial on demand code, but you can do UUCP over TCP/IP.
It will also prevent your mail from bouncing at all on the provider's
end.


-- 
Jeff Hupp
Binder of Daemons