Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Sep 2007 15:55:54 -0500
From:      Adam Wien <adam.wien@gmail.com>
To:        freebsd-pf@freebsd.org
Subject:   pf nat and UMA
Message-ID:  <20677C74-4EFC-400B-ADE4-A794F87B2FA4@gmail.com>

index | next in thread | raw e-mail

I'm trying to get my new UMA phones working behind a pf firewall. I'm  
having all sorts of trouble. I've tried static maps, binat,  
redirects, nothing seems to be working.

They seem to work on port 4500. Port 4500 on the phone to port 4500  
on the remote server. It looks to me to look a lot like SIP. When I  
make calls, it rings on the other side but, after 15 seconds, at  
best, it drops the call.

Here's what I have so far.

nat on em3 proto udp from any port 4500 to any port 4500 -> (carp0)  
static-port #nat for my phones

nat on em3 from carp1:network to any -> carp0 #basic nat rule

I see it in the state table...

self tcp 192.168.x.131:51325 -> 208.74.x.x:57358 ->  
204.187.87.88:443       ESTABLISHED:ESTABLISHED
self tcp 192.168.x.131:52324 -> 208.74.x.x:52324 ->  
216.9.242.88:443       ESTABLISHED:ESTABLISHED
self udp 192.168.x.131:4500 -> 208.74.x.x:62310 ->  
208.54.83.1:4500       MULTIPLE:MULTIPLE


I'm really at a loss.

Thanks,

Adam




home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20677C74-4EFC-400B-ADE4-A794F87B2FA4>