From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1OW0fA-0006Kr-11 for garchives@archives.gentoo.org; Tue, 06 Jul 2010 05:25:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17171E09AF; Tue, 6 Jul 2010 05:25:09 +0000 (UTC) Received: from mail.caf.com.tr (mail.caf.com.tr [88.250.85.68]) by pigeon.gentoo.org (Postfix) with ESMTP id C45F7E09AF for ; Tue, 6 Jul 2010 05:25:08 +0000 (UTC) Received: from localhost (sunny.caf.com.tr [127.0.0.1]) by mail.caf.com.tr (Postfix) with ESMTP id 5D72C39E370 for ; Tue, 6 Jul 2010 05:25:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=caf.com.tr; h= content-transfer-encoding:content-type:content-type:in-reply-to :references:subject:subject:mime-version:user-agent:from:from :date:date:message-id:received:received; s=originating; t= 1278393904; bh=pE2KdpWCaFaJWCc9vyvdRrikK0eVlByQgVUTZ6HyORk=; b=N TXrE6LPBYFeOALjcft/v1PI2gnw9jRnDpFFqSN7iPP4U1JCLWxcFLhL362x5zfUr oPZ+MAuhv2LYEAMJz3ROjyu2KCbzIvNKmCC0GZ48vZ2YGzc/VogLhdCDFefF8RZl yH6quss2LKPYwJ7y+6ib9dk9FvKWlsLH3f4x165Q2o= X-Virus-Scanned: amavisd-new at caf.com.tr Received: from mail.caf.com.tr ([127.0.0.1]) by localhost (sunny.caf.com.tr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id V5ztcoLK14a0 for ; Tue, 6 Jul 2010 05:25:04 +0000 (UTC) Received: from [10.0.0.11] (unknown [10.0.0.11]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.caf.com.tr (Postfix) with ESMTPSA id DD88C39E35C for ; Tue, 6 Jul 2010 05:25:04 +0000 (UTC) Message-ID: <4C32BE30.1050401@caf.com.tr> Date: Tue, 06 Jul 2010 08:25:04 +0300 From: Eray Aslan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Two openvpn tunnels... and /etc/init.d et al. References: <4C32BC6D.1030005@shic.co.uk> In-Reply-To: <4C32BC6D.1030005@shic.co.uk> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 1cb7790b-bd76-4d91-9c31-0ab268a02587 X-Archives-Hash: 1dd6bf1442a85b1fd2754cbaf05ea516 On 06.07.2010 08:17, Steve wrote: > What's the recommended gentoo way to launch two openvpn instances? (I > assume that's what's required...) $ ls -l /etc/init.d/openvpn* -rwxr-xr-x 1 root root 4198 Feb 17 08:31 /etc/init.d/openvpn lrwxrwxrwx 1 root root 7 Mar 1 12:28 /etc/init.d/openvpn-interoffice -> openvpn $ ls -l /etc/openvpn/*.conf -rw-r--r-- 1 root root 10356 Mar 1 15:32 /etc/openvpn/openvpn-interoffice.conf -rw-r--r-- 1 root root 10351 Mar 4 23:10 /etc/openvpn/openvpn.conf i.e. make a soft link to openvpn init script and make a seperate conf file with the same name as the new init script in your config directory (usually /etc/openvpn). Init script starts openvpn with the correct config file. -- Eray