[Asterisk-Users] problem with pf and asterisk

Michiel van Baak michiel at vanbaak.info
Mon Jun 13 23:04:23 MST 2005


On 20:00, Mon 13 Jun 05, Frank Cases wrote:
> current setup
> 
> SIP phone 192.168.1.30 --> linksys wrt54g sveasoft -- INTERNET --
> (xl0) Firewall (xl2:172.16.0.50)--> (em1:172.16.0.101) Asterisk
> 
> 
> problem is RTP stream not oging trouhg from * to sip and vice versa.
> 
> #1 and asterusk  is pushing 192.168.1.30 back to linksys with 172 as
> return address....
> or 
> #2 asterisk trying to get back to me as 192.168 on public internet..
> 
> 
> 
> got
> canreinvite=yes and no.
> nat=yes
> qualify=1000
> 
> externaladdr=IP of (em1)
> localnet=172.16.0.0/12
> 
> 

Try to set the externaladdr to the IP of xl0.
That did the trick for me here.
-- 
Michiel van Baak
http://michiel.vanbaak.info
michiel at vanbaak.info
GnuPG key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7E0B9A2D

"Two of the most famous products of Berkeley are LSD and BSD. I don't think that this is a coincidence."




More information about the asterisk-users mailing list