Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Jul 2005 10:03:37 -0300
From:      Jean Milanez Melo <jmelo@freebsdbrasil.com.br>
To:        freebsd-pf@freebsd.org
Subject:   Re: freebsd 5.4 with pf nat and voip
Message-ID:  <42CD2829.4020007@freebsdbrasil.com.br>

next in thread | raw e-mail | index | archive | help


Thomas Maack Nielsen wrote:

>I have the following setup:
>
>FreeBSD 5.4 with pf enabled.
>
>pf works as the firewall and does the NAT to.
>
>On the NAT side i got 2 x pc's and 2 x Grandstream 286 voip adaptors.
>
>My NAT rule is the following: 
>
>nat pass on $extern from $intern:network to any -> $extern
>
>This works fine for my pc's, but not for my Grandstreams, they are setup
>to use a STUN serve for easy configuration, but the tell me that I am
>using symmetric NAT type, and for symmetric NAT a STUN server doesn't
>work, is it possiable to change the NAT type to any other than symmetric NAT?
>Or is it the STUN server detecting wrong?
>
>Regards,
>
>Thomas Maack Nielsen
>
>_______________________________________________
>freebsd-pf@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-pf
>To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org"
>  
>

Thomas,

What the protocols are you using in Grandstremas? SIP?

If it is SIP try to configure redirect ports like this:

rdr on $ife proto tcp from any to any port 5060 -> $Grandstream_IP port 5060
rdr on $ife proto udp from any to any port 5060 -> $Grandstream_IP port 5060

I hope it can help you.


-- 
Atenciosamente
Jean Milanez Melo
FreeBSD Brasil LTDA.
Fone: (31) 3281-9633
http://www.freebsdbrasil.com.br




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42CD2829.4020007>