From owner-freebsd-questions@FreeBSD.ORG Sat Dec 2 14:15:21 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 5141516A403 for ; Sat, 2 Dec 2006 14:15:21 +0000 (UTC) (envelope-from kurt-list-freebsd@androme.com) Received: from fafnir.androme.com (fafnir.androme.com [62.58.96.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5909043CA6 for ; Sat, 2 Dec 2006 14:15:00 +0000 (GMT) (envelope-from kurt-list-freebsd@androme.com) Received: by fafnir.androme.com (Postfix, from userid 1003) id 1F3E1BA2F63; Sat, 2 Dec 2006 15:15:19 +0100 (CET) Message-ID: <45718A77.3090107@androme.com> Date: Sat, 02 Dec 2006 15:15:19 +0100 From: Kurt Dethier User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 To: Marwan Sultan References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: VoIP behind NAT and FreeBSD 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: Sat, 02 Dec 2006 14:15:21 -0000 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