From owner-freebsd-net@FreeBSD.ORG Thu May 30 12:05:57 2013 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 03B2AC2 for ; Thu, 30 May 2013 12:05:57 +0000 (UTC) (envelope-from ftp51246-2575596@sh4-5.1blu.de) Received: from sh4-5.1blu.de (sh4-5.1blu.de [178.254.11.41]) by mx1.freebsd.org (Postfix) with ESMTP id C3768970 for ; Thu, 30 May 2013 12:05:56 +0000 (UTC) Received: from ftp51246-2575596 by sh4-5.1blu.de with local (Exim 4.69) (envelope-from ) id 1Ui1c4-0004Wc-Dl for freebsd-net@freebsd.org; Thu, 30 May 2013 14:05:48 +0200 Date: Thu, 30 May 2013 14:05:48 +0200 From: Matthias Apitz To: freebsd-net@freebsd.org Subject: Re: how to bind ppp to definite tun device? Message-ID: <20130530120541.GA14872@sh4-5.1blu.de> References: <20130530144852.60908@relay.ibs.dn.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20130530144852.60908@relay.ibs.dn.ua> X-Operating-System: FreeBSD 7.0-RELEASE (i386) User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 12:05:57 -0000 El día Thursday, May 30, 2013 a las 02:48:52PM +0300, Zeus Panchenko escribió: > hi, > > may somebody help with the subject, please? > > is there way to bind tun device which ppp creates/uses to the definite > one, let's say tun0 ? to avoid interface appointment change (in case I > need binding WAN on tunN) > > for example OpenVPN allows to set tunN to open link only on N-th device > > I didn't find the way :( $ man ppp | col -b | fgrep unit -- Matthias Apitz | /"\ ASCII Ribbon Campaign: www.asciiribbon.org E-mail: guru@unixarea.de | \ / - No HTML/RTF in E-mail WWW: http://www.unixarea.de/ | X - No proprietary attachments phone: +49-170-4527211 | / \ - Respect for open standards