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 1OWZJ7-0001jT-NZ for garchives@archives.gentoo.org; Wed, 07 Jul 2010 18:25:17 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B4B5E08EF; Wed, 7 Jul 2010 18:21:09 +0000 (UTC) Received: from smtp02.one2one.net (smtp02.one2one.net [149.254.192.174]) by pigeon.gentoo.org (Postfix) with ESMTP id E1DBF1C047 for ; Wed, 7 Jul 2010 18:21:08 +0000 (UTC) Received: from localhost ([127.0.0.1]) by localhost with esmtp (Exim 4.69) (envelope-from ) id 1OWZF4-0008QO-LL; Wed, 07 Jul 2010 19:21:06 +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 t7JG5vUPF6hT; Wed, 7 Jul 2010 19:21:04 +0100 (BST) Received: from [10.203.27.70] (helo=intranet.shic.co.uk) by localhost with esmtp (Exim 4.69) (envelope-from ) id 1OWZF1-0008Q1-Ma; Wed, 07 Jul 2010 19:21:03 +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 A3FBA337FA9; Wed, 7 Jul 2010 12:13:43 +0100 (BST) Message-ID: <4C346163.3090502@shic.co.uk> Date: Wed, 07 Jul 2010 12:13:39 +0100 From: Steve User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 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: f70c190e-90af-405a-8009-f0c8cd8f9304 X-Archives-Hash: 063f944c081c9468fd0574cdff411571 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)?