From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1FlB11-0007uX-Vo for garchives@archives.gentoo.org; Tue, 30 May 2006 20:40:36 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.6/8.13.6) with SMTP id k4UKcIPU020047; Tue, 30 May 2006 20:38:18 GMT Received: from xmedia.sk (chello085216193205.chello.sk [85.216.193.205]) by robin.gentoo.org (8.13.6/8.13.6) with ESMTP id k4UKTNp0031268 for ; Tue, 30 May 2006 20:29:23 GMT Received: (qmail 9295 invoked by uid 210); 30 May 2006 22:29:12 +0200 Received: from 127.0.0.1 by noro (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.83/819. spamassassin: 3.0.2. perlscan: 1.24st. Clear:RC:1(127.0.0.1):SA:0(-4.0/5.0):. Processed in 1.003092 secs); 30 May 2006 20:29:12 -0000 X-Spam-Status: No, hits=-4.0 required=5.0 Received: from localhost (HELO ?127.0.0.1?) (127.0.0.1) by localhost with SMTP; 30 May 2006 22:29:10 +0200 Message-ID: <447CAB0E.9030405@xmedia.sk> Date: Tue, 30 May 2006 22:29:02 +0200 From: Norbert Kamenicky User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.13) Gecko/20060505 X-Accept-Language: sk, cs, en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Howto setup tunnel in gentoo scripts X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Archives-Salt: cd112e3b-6868-472b-a584-37d36dc47643 X-Archives-Hash: 6aaeb424d67c729696011cb52a308b60 Hi everybody, to establish gre tunnel, these commands have to be run: (e.g. from local.start) # ip tunnel add vpn0 mode gre remote 1.1.1.1 local 2.2.2.2 dev eth0 # ip addr add 3.3.3.3 dev vpn0 # ip link set vpn0 mtu 1420 up Does anybody know, how to put it into /etc/conf.d/net ? I didn't succeed yet, 'cause I found no clear doc. Tanks in advance noro -- gentoo-user@gentoo.org mailing list