From owner-freebsd-questions@FreeBSD.ORG Sat Dec 2 14:22:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9075316A403 for ; Sat, 2 Dec 2006 14:22:23 +0000 (UTC) (envelope-from joe@joeholden.co.uk) Received: from claire.ber.rewt.org.uk (claire.ber.rewt.org.uk [217.160.200.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id EEE7743CA5 for ; Sat, 2 Dec 2006 14:22:01 +0000 (GMT) (envelope-from joe@joeholden.co.uk) Received: from localhost (unknown [127.0.0.1]) by claire.ber.rewt.org.uk (Postfix) with ESMTP id 8A2155C84; Sat, 2 Dec 2006 14:22:21 +0000 (GMT) X-Virus-Scanned: amavisd-new at claire.ber.rewt.org.uk Received: from claire.ber.rewt.org.uk ([127.0.0.1]) by localhost (claire.ber.rewt.org.uk [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u6TD+lEXCQ4a; Sat, 2 Dec 2006 14:22:19 +0000 (GMT) Received: from [195.28.169.201] (unknown [195.28.169.201]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by claire.ber.rewt.org.uk (Postfix) with ESMTP id B92B75C77; Sat, 2 Dec 2006 14:22:18 +0000 (GMT) Message-ID: <45718C19.2000809@joeholden.co.uk> Date: Sat, 02 Dec 2006 14:22:17 +0000 From: Joe Holden User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Kurt Dethier References: <45718A77.3090107@androme.com> In-Reply-To: <45718A77.3090107@androme.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Marwan Sultan Subject: Re: VoIP behind NAT and FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: joe@joeholden.co.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Dec 2006 14:22:23 -0000 Kurt Dethier wrote: > Marwan Sultan wrote: >> Hello All, >> >> Well, maybe the subject says all, >> Im running 6.1R acting as NAT, gateway ofcourse, hotspot. >> I have many clients trying to use Vonage, motorola, VoIP devices and >> and few more products. >> >> The problem is as its described in some websites.. >> They can call, receive a call, hear the dailtone but no one can hear >> the other party. >> >> After researching i found out there is a problem iusing FreeBSD NAT >> with voip protocols. >> >> i have been advised to use STUN servers, (Simple Traversal of UDP >> through NATs.) >> I found out there is net/stund port and its installed successufly! >> but still lost. >> >> Can someone kindly and please shade a light on howto >> make voip behind NAT works in my FreeBSD ? im in trouble because of >> this. > > Hi Marwan, > STUN will only work if you have the correct NAT implementation on > your gateway. If you are using pf, you get what the STUN RFC calls > a symmetric NAT. STUN will not help you in such an implementation. > I'm not sure how the other NAT solutions on FreeBSD are implemented. > > If you need a solution for a symmetric NAT, you need something that > understands the signaling protocol and can add fw/nat rules on demand > on your gateway, or a media proxy (like TURN). > > Kurt It is entirely possible to use voip behnd symmetric nat, but it also entirely depends on the setup, some more details will help. Ta, Joe