*BSD News Article 41268


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msunews!uwm.edu!vixen.cso.uiuc.edu!howland.reston.ans.net!Germany.EU.net!EU.net!sun4nl!News.Simplex.NL!Simplex.NL!rob
From: rob@Simplex.NL (Rob Simons)
Newsgroups: comp.os.386bsd.questions
Subject: PPP question
Date: 21 Jan 1995 17:22:04 GMT
Organization: Simplex Networking Amsterdam, The Netherlands.
Lines: 37
Message-ID: <3frfsg$8uk@News.Simplex.NL>
NNTP-Posting-Host: simplex.nl
X-Newsreader: TIN [version 1.2 PL2]

Hi,

I've stumbled over the following problem:
I'm using PPP to connect a FreeBSD host to another FreeBSD host,
this works perfectly.
Now the PPP 'server' is connected to Internet, and the PPP client
is connected to a LAN at home. 
The machines at home don't see the machine on the other side of
the PPP link, and vice versa. I can solve this by adding (crossed)
proxy arp entries on both sides of the PPP link, and adjusting the
routing table of the PPP server for the machines at home.

When I've done that, everything works exactly as I want it to
work.

Is there a way I can let this be done automatically ?  My main 
problem is that to alter the routing tables and arp tables one
needs to be root, and although pppd is suid root, it doesn't 
(as with sliplogin) automatically execute a script like /etc/
sliplogin.<hostname>.

I can set the loginscript as suid root, but that sounds a bit
dangerous to me. (besides, will this work at all?)

Anyone has a similar problem, and how did you solve it ?


Regards,

- Rob.

--
/*--------------------------------------------------------------*\
/*   Rob Simons                      |  rob@simplex.nl          *\
/*   ----------    |    -----------  |  rob@MacBugs.simplex.nl  *\
/*   Novell Netware System Operator  |  UNIX system operator    *\
/*--------------------------------------------------------------*\