From owner-freebsd-hackers Tue Feb 10 00:35:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id AAA09787 for hackers-outgoing; Tue, 10 Feb 1998 00:35:16 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from bmccane.maxbaud.net ([208.155.166.81]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id AAA09766 for ; Tue, 10 Feb 1998 00:35:12 -0800 (PST) (envelope-from root@bmccane.maxbaud.net) Received: from bmccane.maxbaud.net (localhost.mccane.com [127.0.0.1]) by bmccane.maxbaud.net (8.8.7/8.8.7) with ESMTP id CAA07013; Tue, 10 Feb 1998 02:34:31 -0600 (CST) (envelope-from root@bmccane.maxbaud.net) Message-Id: <199802100834.CAA07013@bmccane.maxbaud.net> X-Mailer: exmh version 2.0gamma 1/27/96 To: Brian Somers cc: Ulf Zimmermann , hackers@FreeBSD.ORG Subject: Re: IP tunnels ? once again probably In-reply-to: Your message of "Wed, 04 Feb 1998 07:39:19 GMT." <199802040739.HAA23697@awfulhak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 10 Feb 1998 02:34:30 -0600 From: Wm Brian McCane Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > [.....] > > So far, so good, everything works fine. Now I need to connect the offsite > > hosts via an ip tunnel to the main location. The offsite has to start > > the tunnel, as it has a dynamic address on the public. I tried several > > things with ppp, iptunnel (2 different ones) and ssh, but all are not stable > > nor user friendly. > > The latest ppp (-current, -stable and http://www.FreeBSD.org/~brian) > has a full working example of a tunnel setup in the PPP OVER TCP > section of the man page. There's also an example in ppp.conf.sample. > > > Has anyone come up with something simular ? Any pointers ? > > > > Ulf. > > > > --------------------------------------------------------------------- > > Ulf Zimmermann, 1525 Pacific Ave., Alameda, CA-94501, #: 510-769-2936 > > Alameda Networks, Inc. | http://www.Alameda.net | Fax#: 510-521-5073 > > -- > Brian , , > > Don't _EVER_ lose your sense of humour.... > > Okay, I have a program I developed to implement an VPN for a customer. It uses the tunnel drivers, and all you do is call it with the IP:port on the host machine you wish to connect to. Each person's machine(s) would need to be setup with a specific range of IP addresses on their end (I setup 2 zones 192.168.1.* and 192.168.4.* which then routed to each other). This solution as I already mentioned, will route entire LANs if you need them to: All you need do is setup tun0, add a route to the other network via the tunnel, and fire up the program. voila, brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe hackers" in the body of the message