Date: Sun, 18 Mar 2001 10:08:07 -0800 (PST) From: Archie Cobbs <archie@dellroad.org> To: bill <billt@ifelse.org> Cc: freebsd-net@FreeBSD.ORG Subject: Re: GRE tunnels Message-ID: <200103181808.f2II87I10536@arch20m.dellroad.org> In-Reply-To: <Pine.LNX.4.31.0103180956080.433-100000@zaius.poa> "from bill at Mar 18, 2001 12:26:11 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103181808.f2II87I10536>