From owner-freebsd-questions Thu Mar 12 15:58:04 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA01080 for freebsd-questions-outgoing; Thu, 12 Mar 1998 15:58:04 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from awfulhak.org (awfulhak.demon.co.uk [158.152.17.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA00818 for ; Thu, 12 Mar 1998 15:57:14 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.7/8.8.7) with ESMTP id XAA06966; Thu, 12 Mar 1998 23:37:36 GMT (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199803122337.XAA06966@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: leifn@image.dk (Leif Neland) cc: freebsd-questions@FreeBSD.ORG Subject: Re: ppp incoming access. In-reply-to: Your message of "11 Mar 1998 23:31:01 +0100." <637_9803120015@swimsuit.swimsuit.roskildebc.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 12 Mar 1998 23:37:36 +0000 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Sometimes somebody tries to connect to my machine, when i ppp to my isp. For > fun I want to allow access to my webserver, which is not on the ppp'ing > machine. > > webserver: 192.168.0.10 (darla) > ppp-machine: 192.168.0.11 (arnold) > > I have in ppp.conf: > default: > alias enable yes > alias port tcp 192.168.0.10:80 80 > > This I would think should tell that incoming http-requests should be forwarded > to the webserver. > > If I telnet to the ip-adress ppp gets from my isp, I get the login-prompt for > arnold. > But if I telnet to the same ip-adress, port 80, nothing happens. > Is it possible at all? Your configuration should work ok. Have you enabled the machine as a gateway ? > > Leif Neland > leifn@image.dk > > --- > |Fidonet: Leif Neland 2:234/49 > |Internet: leifn@image.dk -- Brian , , Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message