From owner-freebsd-questions Tue Mar 17 12:59:21 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA11749 for freebsd-questions-outgoing; Tue, 17 Mar 1998 12:59:21 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gdi.uoregon.edu (gdi.uoregon.edu [128.223.170.30]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA11598 for ; Tue, 17 Mar 1998 12:59:02 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Received: from localhost (dwhite@localhost) by gdi.uoregon.edu (8.8.7/8.8.8) with SMTP id MAA01235; Tue, 17 Mar 1998 12:58:57 -0800 (PST) (envelope-from dwhite@gdi.uoregon.edu) Date: Tue, 17 Mar 1998 12:58:57 -0800 (PST) From: Doug White Reply-To: Doug White To: Tim Gustafson cc: freebsd-questions@FreeBSD.ORG Subject: Re: another ppp question In-Reply-To: <3.0.5.32.19980317004710.00a3f9b0@mail.falconsoft.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Tue, 17 Mar 1998, Tim Gustafson wrote: > is it possible for a tcp/ip host using the ppp -alias feature to bind a > port to the outside world? ie: > > +------+ +------+ +--------+ > | HOST |--------| PPP | ----- INTERNET ------- | CLIENT | > | | | GATE | | | > +------+ +------+ +--------+ > > Bind a port on HOST > PPP-GATE dials up to internet, gates HOST's network > CLIENT connects to port bound on HOST The problem is teaching the ppp gateway that incoming connections on port X need to be send to host instead. The -alias feature completely masks out the internal network that host is on, so only the ppp gateway is visible. You can do this with ipfw/natd. I don't know if you can force a dialout with it though. Doug White | University of Oregon Internet: dwhite@resnet.uoregon.edu | Residence Networking Assistant http://gladstone.uoregon.edu/~dwhite | Computer Science Major To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message