From owner-freebsd-questions Mon May 11 09:41:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA04628 for freebsd-questions-outgoing; Mon, 11 May 1998 09:41:59 -0700 (PDT) (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 JAA04601 for ; Mon, 11 May 1998 09:41:22 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from gate.lan.awfulhak.org (localhost [127.0.0.1]) by awfulhak.org (8.8.8/8.8.8) with ESMTP id PAA24595; Mon, 11 May 1998 15:48:17 +0100 (BST) (envelope-from brian@gate.lan.awfulhak.org) Message-Id: <199805111448.PAA24595@awfulhak.org> X-Mailer: exmh version 2.0.1 12/23/97 To: Michael Cronk cc: freebsd-questions@FreeBSD.ORG In-reply-to: Your message of "Mon, 11 May 1998 11:30:20 +1000." <199805110130.LAA07072@one.one.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 11 May 1998 15:48:17 +0100 From: Brian Somers Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I am aware that whenever you establish a user PPP connection that the port > associated with the connection is 3000 plus the tunnel device number used. My > question is, whenever you use tunneling (i.e. a TCP-type PPP connection) does > this follow the same philosophy. For example, just say I have the receiving > machine setup to receive connections on port 2800... basically I am a little > confused as to what goes on from here. In general, what I want to do is set > aside the ports 3000 -> 3004 for dial-out and dial-in connections, and > 3005 -> 3049 for tunneling connections. Now take the following scenario for > example: say I have established 3 dial-in connections and 1 dial-out (i.e. > ports 3000 -> 3003), then a tunnel comes through (on 2800; and hence, > now 5 tun devices) then another dial-in connection comes in (hence, now 6 tun > devices being used), does it get assigned to port 3005. Hope I've explained > it in a manner that u can understand \=]. This is possible in the MP branch of ppp. It hasn't been archived and made available yet - a few things need ironing out. In this version, you don't get a diagnostic socket at 3000 any more, instead you must specify it in your config file. If you use a + sign, you can base the port on your tun unit number: set server +3000 mypassword For your scenario, you can simply have to configuration profiles, one with the above line and the other with set server +3004 mypassword This stuff should be available soon - I'll announce it when it is. > Thanks in advance, Mick. -- 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