*BSD News Article 95215


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!uunet!in3.uu.net!192.239.17.140!cpk-news-hub1.bbnplanet.com!news.bbnplanet.com!rill.news.pipex.net!pipex!tank.news.pipex.net!pipex!news.utell.co.uk!usenet
From: brian@shift.utell.net (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: "ppp -alias" and rlogin permissions?
Date: 13 May 1997 09:36:48 GMT
Organization: Awfulhak Ltd.
Lines: 34
Message-ID: <5l9cng$9lp@ui-gate.utell.co.uk>
References: <d2ohajsbe1.fsf@erlang.ericsson.se>
    <86u3kawxa4.fsf@bitbox.follo.net>
Reply-To: brian@awfulhak.org, brian@utell.co.uk
NNTP-Posting-Host: shift.utell.net
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Newsreader: knews 0.9.8
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:40786

In article <86u3kawxa4.fsf@bitbox.follo.net>,
	Eivind Eklund <perhaps@yes.no> writes:
> In article <d2ohajsbe1.fsf@erlang.ericsson.se> Kent Boortz <kent@erlang.ericsson.se> writes:
> 
>> 
>> 
>> I have ppp and IP nat/aliasing/masquerading working but I'm puzzled by
>> a small problem. I have the same user ID on the remote and local
>> machine. When I connect with "ppp" I can directly do a "rlogin
>> remotehostname" but when I connect with "ppp -alias" and try to do a
>> "rlogin" I get a "rlogind: Permission denied.".  I can still do
>> telnet/ftp/whatever but not "rlogin"!?
>> 
>> Is this the way it is supposed to be? If not, what can I do to find
>> the problem and solve it?
> 
> The problem is that RPC needs to be run from port 20, and -alias
> change the port numbers by default.  The latest version of
> PPP+pktAlias handles this, and will likely be integrated in FreeBSD
> -current reasonably soon.  Until then, download it from
> http://www.srv.net/~cmott/
> 
> I don't remember whether I enabled the mapping of the port to the same
> values as default; check the README.alias file.

The natd port (version 1.4) does this nicely too (it uses a more
recent version of the alias code).  Check the man page.

> Eivind.

-- 
Brian <brian@awfulhak.org> <brian@freebsd.org>
      <http://www.awfulhak.org>
Don't _EVER_ lose your sense of humour !