Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Mar 1998 12:58:57 -0800 (PST)
From:      Doug White <dwhite@gdi.uoregon.edu>
To:        Tim Gustafson <guff@falconsoft.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: another ppp question
Message-ID:  <Pine.BSF.3.96.980317125748.994h-100000@gdi.uoregon.edu>
In-Reply-To: <3.0.5.32.19980317004710.00a3f9b0@mail.falconsoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980317125748.994h-100000>