# Asterisk 1.8.2.3 NAT issue

**URL:** <https://community.asterisk.org/t/asterisk-1-8-2-3-nat-issue/34193>\
**Category:** Asterisk Support\
**Created:** [February 17, 2011, 5:56pm UTC](https://community.asterisk.org/t/asterisk-1-8-2-3-nat-issue/34193 "2011-02-17T17:56:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/asterisk/original/2X/4/475d0c889911cfb84ac4881ad6df8b523e3f9105.png) [@system](https://community.asterisk.org/u/system)\
**Post date:** [February 17, 2011, 5:56pm UTC](https://community.asterisk.org/t/asterisk-1-8-2-3-nat-issue/34193/1 "2011-02-17T17:56:33Z")

</div>

SIP client behind NAT is not working. Asterisk is not behind NAT, but accessible only by dyndns.

sip.conf:  
[general]  
; Asterisk box at home  
sipdebug=no  
port=5060  
bindaddr=0.0.0.0  
externhost=dyndns  
externrefresh=180  
localnet=192.168.1.0/255.255.255.0  
context=general  
alwaysauthreject=yes  
dtmfmode=rfc2833  
;no directmedia  
directmediadeny=0.0.0.0/0  
directmediapermit=192.168.1.0/16  
allowtransfer=yes  
srtpcapable=yes  
register=\>0XXX

[2015]  
; Client behind NAT at workplace  
type=friend  
externhost=dyndns  
externrefresh=180  
secret=passwd  
context=extern  
nat=yes  
directmedia=no  
qualify=yes  
host=dynamic  
dtmfmode=rfc2833

Any idea from someone who has 1.8 properly running?

---

<div class="post-metadata">

**Author:** ![tardich](https://avatars.discourse-cdn.com/v4/letter/t/8c91f0/32.png) [@tardich](https://community.asterisk.org/u/tardich)\
**Post date:** [February 21, 2011, 3:55pm UTC](https://community.asterisk.org/t/asterisk-1-8-2-3-nat-issue/34193/2 "2011-02-21T15:55:03Z")

</div>

I have the exact same problem. It’s NO-IP un my case, but this has nothing else different.

In my case, I can make a call without any problem. But, as soon as I’m receiving a call, I’m getting

> [@](#):
>
> Got SIP response 400 “Bad Request” back from xxx.xxx.xxx.xxx

on the server logs. And the message gets dropped in the voicemail immediately.

Anyone?
