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 1OWb1q-0003vw-48 for garchives@archives.gentoo.org; Wed, 07 Jul 2010 20:15:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E9E2AE0AA4; Wed, 7 Jul 2010 20:14:26 +0000 (UTC) Received: from smtp02.one2one.net (smtp02.one2one.net [149.254.192.174]) by pigeon.gentoo.org (Postfix) with ESMTP id BD09FE0AA4 for ; Wed, 7 Jul 2010 20:14:26 +0000 (UTC) Received: from localhost ([127.0.0.1]) by localhost with esmtp (Exim 4.69) (envelope-from ) id 1OWb0j-0002Ib-DK; Wed, 07 Jul 2010 21:14:25 +0100 X-Virus-Scanned: Debian amavisd-new at smtpbeckt01.t-mobile.co.uk Received: from localhost ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RFZMRU+6gkvu; Wed, 7 Jul 2010 21:14:25 +0100 (BST) Received: from [10.203.27.70] (helo=intranet.shic.co.uk) by localhost with esmtp (Exim 4.69) (envelope-from ) id 1OWb0i-0002IM-Po; Wed, 07 Jul 2010 21:14:24 +0100 Received: from [192.168.1.68] (genkt-051-065.t-mobile.co.uk [149.254.51.65]) by intranet.shic.co.uk (Postfix) with ESMTPA id 8D2AB338087; Wed, 7 Jul 2010 21:14:17 +0100 (BST) Message-ID: <4C34E011.3040106@shic.co.uk> Date: Wed, 07 Jul 2010 21:14:09 +0100 From: Steve User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10) Gecko/20100527 Thunderbird/3.0.5 ThunderBrowse/3.2.8.1 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 CC: Eray Aslan Subject: Re: [gentoo-user] Two openvpn tunnels... and /etc/init.d et al. References: <4C32BC6D.1030005@shic.co.uk> <4C32BE30.1050401@caf.com.tr> In-Reply-To: <4C32BE30.1050401@caf.com.tr> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: gentoo_sjh@shic.co.uk X-SA-Exim-Scanned: No (on localhost); SAEximRunCond expanded to false X-Archives-Salt: 0478f2a8-bfb8-421f-bb1f-23bf6f5fe5f3 X-Archives-Hash: 83dda2c11e3c87c6144776ba3c0baa26 On 06/07/10 06:25, Eray Aslan wrote: > 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. Many thanks, works perfectly... All I need to work out now is how to get my iproute2 config for my new tunnel to come up automatically... it works from the command line. Are there any documents about migrating explicit iproute2 routing done at the command line (i,e, calling ip ... several times after logging in as root) to scripts that are run at boot time (after my tunnels are up)?