From owner-freebsd-net Sun Mar 18 10:15: 8 2001 Delivered-To: freebsd-net@freebsd.org Received: from InterJet.dellroad.org (adsl-63-194-81-26.dsl.snfc21.pacbell.net [63.194.81.26]) by hub.freebsd.org (Postfix) with ESMTP id 295BE37B719 for ; Sun, 18 Mar 2001 10:15:06 -0800 (PST) (envelope-from archie@dellroad.org) Received: from arch20m.dellroad.org (arch20m.dellroad.org [10.1.1.20]) by InterJet.dellroad.org (8.9.1a/8.9.1) with ESMTP id KAA65466; Sun, 18 Mar 2001 10:08:35 -0800 (PST) Received: (from archie@localhost) by arch20m.dellroad.org (8.11.1/8.11.1) id f2II87I10536; Sun, 18 Mar 2001 10:08:07 -0800 (PST) (envelope-from archie) From: Archie Cobbs Message-Id: <200103181808.f2II87I10536@arch20m.dellroad.org> Subject: Re: GRE tunnels In-Reply-To: "from bill at Mar 18, 2001 12:26:11 pm" To: bill Date: Sun, 18 Mar 2001 10:08:07 -0800 (PST) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org bill writes: > does any information exist on how set up a GRE tunnel in freebsd 4.3-BETA? > > i have read the netgraph, ngctl, ng_pptpgre man pages and unfortunately i > am unable make heads or tails on how to set one up. > > i have the 'other' end set up using linux iproute2. it works (at least i > see via tcpdump the ping packets arrive at the freebsd gateway). > > i have allowed gre packet thusly: ipfw add xxx pass gre from any to any > > but i am not sure what to do next. > > i would be very grateful for any assistance! FreeBSD doesn't have built-in support for that kind of GRE tunnel. You'd have to write your own program to open a raw socket and read and write packets to tun(4) or somesuch. The ng_pptpgre(4) node is (as the name implies) designed for PPTP's type of GRE. It could be used for 'generic' tunnelling between two FreeBSD machines but this is probably incompatbile with the Linux system. -Archie __________________________________________________________________________ Archie Cobbs * Packet Design * http://www.packetdesign.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message