Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Apr 2001 20:41:10 -0400 (EDT)
From:      Jim Durham <durham@w2xo.pgh.pa.us>
To:        Brent <misterb@cybertours.com>
Cc:        Caleb Walker <cwalker@cwalk.org>, freebsd-questions@FreeBSD.ORG
Subject:   Re: gre-tunneling  help
Message-ID:  <Pine.BSF.4.21.0104202033240.96223-100000@shazam.int>
In-Reply-To: <002c01c0c996$710b0980$3ab4a8c0@kronos>

next in thread | previous in thread | raw e-mail | index | archive | help

On Fri, 20 Apr 2001, Brent wrote:

> OK..heres the whole deal...
> I work for an ISP ...there are 2 offices ..both in different states....I
> have a 70 node internel microsoft network that has a freebsd 4.1 box doing
> NAT ..the other office has a PIC router at thier end...we want to
> "GRE_TUNNEL"  between the 2 locations over the internet.
> Ive compiled the BSD box w/ NETGRAPH, IPTUNNEL , NETGRAPH_PPTPGRE ..
> 
> will this be going over "TUNx"  ??   in the howto i have ..it says to make
> sure the kernel has "TUN" support....i go to /dev  and tun0, tun1, tun2
> ...are alll there...althpought when i do "ifconfig -a "   TUN isnt there...
> im assuming i need tun ??
> anyway ...if anyone can point me in the correct direction...to a good HOWTO
> or something..
> 
> TIA  ..all help is way appreciated  :-)
> 

I have a different GRE requirement, as we have about 50 people
on the road with laptops, but I'm doing GRE on 4.1.

I am using mpd from the ports. It uses the netgraph interface and
works very well connecting the GRE VPN stuff in Win95/98/2000 to
our 4.1 server. I would imagine it will work with your router.

The documentation is a little spotty, but the port maintainer
gave me some good help, as I will if you want to pursue
this. The netgraph device is more efficient than the tun device,
as it is more closely coupled to kernel networking.

You don't need to put netgraph in the kernel. It is loaded on
demand as a kernel module.

-Jim Durham

> Brent
> 
> ----- Original Message -----
> From: Caleb Walker <cwalker@cwalk.org>
> To: Brent <brentb@loa.com>; <freebsd-questions@FreeBSD.ORG>
> Sent: Friday, April 20, 2001 12:32 AM
> Subject: Re: gre-tunneling help
> 
> 
> What are you trying to do?  Are you trying to allowVPN through your network?
> 
> ----- Original Message -----
> From: "Brent" <brentb@loa.com>
> To: <freebsd-questions@FreeBSD.ORG>
> Sent: Thursday, April 19, 2001 1:34 PM
> Subject: gre-tunneling help
> 
> 
> > Im using a 4.1 FreeBSD box w/ NAT  ..i need to gre-tunneling to work  .the
> > howto  im reading says there has to be at least 1 "tun" interface in the
> > down state....when i do a "ifconfig -a "   tun isnt in there  ...how do i
> > get the tun  interface to be in "ifconfig" ?
> >  ..when i look in
> > /dev
> >
> > tun0 tun1 tun2   all are in there...
> >
> > so i dont think i have to do ./MAKEDEV..
> > how do i get it to show  w/ ifconfig ??   did i miss something ??
> >  TIA  ........any help is really appreciated
> > Brent
> >
> >
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-questions" in the body of the message
> >
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0104202033240.96223-100000>