VoIP behind NAT and FreeBSD

Joe Holden joe at joeholden.co.uk
Sat Dec 2 05:41:32 PST 2006


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.
> 
>   Thank you.
>   Marwan Sultan,
> 
This isn't FreeBSD NAT specific, its a problem with NAT in general, if
you've installed the stund port, all you need todo is run: stund -h
1.2.3.4 -a 1.2.3.4, replacing 1.2.3.4 with the machines ip obviously,
and then tell the voip phones to use that stun server.

HTH,
Joe


More information about the freebsd-questions mailing list