From owner-freebsd-questions@FreeBSD.ORG Tue Jan 24 15:01:13 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4801616A41F for ; Tue, 24 Jan 2006 15:01:13 +0000 (GMT) (envelope-from bob@fellownet.com) Received: from spike.fellownet.com (fellow.demon.nl [83.160.3.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id B203F43D49 for ; Tue, 24 Jan 2006 15:01:12 +0000 (GMT) (envelope-from bob@fellownet.com) Received: from [192.168.1.36] (dbcorp.xs4all.nl [213.84.221.13]) (authenticated bits=0) by spike.fellownet.com (8.13.4/8.13.4) with ESMTP id k0OF1BeO001073 for ; Tue, 24 Jan 2006 16:01:11 +0100 (CET) (envelope-from bob@fellownet.com) Mime-Version: 1.0 (Apple Message framework v746.2) Content-Transfer-Encoding: 7bit Message-Id: Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: freebsd-questions@freebsd.org From: Bob Kersten Date: Tue, 24 Jan 2006 16:01:11 +0100 X-Mailer: Apple Mail (2.746.2) Subject: VPN / Bridge X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jan 2006 15:01:13 -0000 Hello, I've been trying to create a tunnel/bridge between two networks which both reside behind a FreeBSD router using NAT. I've achieved it using the handbook example in chapter 14.10. Clients on network A are able to ping clients on network B and clients on network A are able to map samba shares on the NAT box/gateway of network B. The example however uses two different subnets to route traffic between both networks. Unfortunately broadcasts will not travel through the tunnel which causes Apple's bonjour (called rendezvous earlier) not being able to discover clients on the other network. What I want to achieve is what I believe a bridge between both networks. The entire network A should be on the same subnet as network B: network A range 192.168.100.100 - 192.168.100.199 / 255.255.255.0 | FreeBSD gateway A en1: IP: 192.168.100.101 / 255.255.255.0 en0: public IP: 25.25.25.1 | Internet | FreeBSD gateway B en0: public IP: 25.25.25.2 en1: IP: 192.168.100.1 / 255.255.255.0 | Network B range 192.168.100.1 - 192.168.100.99 / 255.255.255.0 Using the example from the handbook there was no additional configuration necessary on the clients on both networks, the FreeBSD gateways handled all the necessary routing. It would be great if this new setup should also not require any additional settings on the clients aswell. Can anyone give me an example or the necessary steps to create this kind of VPN? Cheers, Bob.