<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Hello All,<br><br>I ran into an issue today that has burned up most of my day troubleshooting.&nbsp; I have resolved the problem, but would really like to understand what caused it, or some of the internal Freeswitch plumbing that is at play so that I can learn something from all of this time I have invested.<br><br>I have a Freeswitch server running that acts as a proxy to an account with an ITSP for doing T38 faxing.&nbsp; The Freeswitch server has a public IP address - there are four "users" who register simple FXS ATAs to my server and it then proxies to the ITSP using the "proxy_media" functionality.&nbsp; It has been working very well for the last 6 months or so.&nbsp; I have never had to deal with any NAT traversal issues - I just point the ATA to the IP to register and everything is great.<br><br>Here is what the four users "looked" like - <br><br>User1 :&nbsp; Grandstream HT-287 -&gt; DD-WRT Router (NAT) -&gt; Internet -&gt; Freeswitch Proxy<br>User2 :&nbsp; Grandstream HT-503 -&gt; DD-WRT Router (NAT) -&gt; Internet -&gt; Freeswitch Proxy<br>User3 :&nbsp; Grandstream HT-502 -&gt; Comcast/SMC Router (NAT) -&gt; Internet -&gt; Freeswitch Proxy<br>User4 :&nbsp; Grandstream HT-287 -&gt; IPCOP 1.4.11 (NAT) -&gt; Comcast Gateway -&gt; Freeswitch Proxy<br><br>(User4 is my office, so the IPCOP firewall and the Freeswitch Proxy sit on the same Comcast Gateway)<br><br>As I said, this all worked perfectly without any need to "fiddle" with anything on any firewalls - worked right out of the box.<br><br>So, today I changed out my IPCOP firewall for a pfsense firewall - and my HT-287 would no longer register.<br><br>After much head-scratching, packet captures, etc. I found that I needed to set up a Static Port NAT for the port the HT-287 was using (5062) in order to get this to work.&nbsp; <br><br>So, I see WHAT is happening, but I really want to know WHY it is happening.<br><br>Here are the gory details:<br><br>The sofia status of the profile looks like this - when the I have the Static Port NAT in place (details changed for security):<br><br>_______________________________________________________________<br>Call-ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0e551b3c694a793c@192.168.1.137<br>User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8885554525@173.11.22.111<br>Contact:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "user" &lt;sip:8885554525@192.168.1.137;fs_nat=yes;fs_path=sip%3A8885554525%40173.22.22.55%3A5060&gt;<br>Agent:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Grandstream HT287 1.1.0.45 DevId 000b821203c5<br>Status:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registered(UDP-NAT)(unknown) EXP(2010-08-29 01:17:03)<br>Host:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 173-11-22-111-illinois.hfc.comcastbusiness.net<br>IP:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 173.22.22.55<br>Port:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5060<br>Auth-User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8885554525<br>Auth-Realm:&nbsp;&nbsp;&nbsp;&nbsp; 173.11.22.111<br>MWI-Account:&nbsp;&nbsp;&nbsp; 8885554525@173.11.22.111<br><br>Call-ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1716488819-5062-1@192.168.7.150<br>User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8885554544@173.11.22.111<br>Contact:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "user" &lt;sip:8885554544@192.168.7.150:5062;user=phone;fs_nat=yes;&nbsp;&nbsp; fs_path=sip%3A8885554544%4098.255.0.11%3A5062%3Buser%3Dphone&gt;<br>Agent:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Grandstream HT-502&nbsp; V1.1B 1.0.1.63<br>Status:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registered(UDP-NAT)(unknown) EXP(2010-08-29 01:48:35)<br>Host:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 173-11-22-111-illinois.hfc.comcastbusiness.net<br>IP:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 98.255.0.11<br>Port:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5062<br>Auth-User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8885554544<br>Auth-Realm:&nbsp;&nbsp;&nbsp;&nbsp; 173.11.22.111<br>MWI-Account:&nbsp;&nbsp;&nbsp; 8885554544@173.11.22.111<br><br><span style="color: rgb(255, 0, 0);">Call-ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 090ee80e1a0ec9ed@10.8.11.149</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8885554549@173.11.22.111</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Contact:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "user" &lt;sip:8885554549@10.8.11.149:5062&gt;</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Agent:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Grandstream HT287 1.1.0.45 DevId 000b82127390</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Status:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registered(UDP)(unknown) EXP(2010-08-29 02:00:42)</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Host:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 173-11-22-111-illinois.hfc.comcastbusiness.net</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">IP:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 173.11.22.99</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Port:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5062</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Auth-User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8885554549</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">Auth-Realm:&nbsp;&nbsp;&nbsp;&nbsp; 173.11.22.111</span><br style="color: rgb(255, 0, 0);"><span style="color: rgb(255, 0, 0);">MWI-Account:&nbsp;&nbsp;&nbsp; 8885554549@173.11.22.111</span><br><br>Call-ID:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1035241259-5060-1@10.1.10.150<br>User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8885554547@173.11.22.111<br>Contact:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; "user" &lt;sip:8885554547@10.1.10.150:5060;user=phone;fs_nat=yes;fs&nbsp;&nbsp; _path=sip%3A8885554547%4098.222.55.100%3A5060%3Buser%3Dphone&gt;<br>Agent:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Grandstream HT-503&nbsp; V1.1B 1.0.1.63<br>Status:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Registered(UDP-NAT)(unknown) EXP(2010-08-29 00:15:09)<br>Host:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 173-11-22-111-illinois.hfc.comcastbusiness.net<br>IP:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 98.222.55.100<br>Port:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 5060<br>Auth-User:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8885554547<br>Auth-Realm:&nbsp;&nbsp;&nbsp;&nbsp; 173.11.22.111<br>MWI-Account:&nbsp;&nbsp;&nbsp; 8885554547@173.11.22.111<br>___________________________________________________________<br><br>The "User4" account is in red.&nbsp; The "Contact" field is substantially different and the "Status" indicates "Registered (UDP)", rather than "Registered (UDP-NAT)" as the others.<br><br>When I do a packet capture on the external NIC interface (eth0) - I see the following when the HT-287 tries to register and the Static Port NAT is NOT in place:<br><br>___________________________________________________________________<br>Internet Protocol, Src: 173.11.22.99 (173.11.22.99), Dst: 173.11.22.111 (173.11.22.111)<br>User Datagram Protocol, Src Port: 11521 (11521), Dst Port: 5090 (5090)<br>Session Initiation Protocol<br>&nbsp;&nbsp;&nbsp; Request-Line: REGISTER sip:173.11.22.111:5090 SIP/2.0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Method: REGISTER<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Request-URI: sip:173.11.22.111:5090<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Request-URI Host Part: 173.11.22.111<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Request-URI Host Port: 5090<br>&nbsp;&nbsp;&nbsp; Message Header<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Via: SIP/2.0/UDP 10.8.11.149:5062;branch=z9hG4bKda48f838c8689e41<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Transport: UDP<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sent-by Address: 10.8.11.149<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sent-by port: 5062<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Branch: z9hG4bKda48f838c8689e41<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; From: &lt;sip:8885554549@173.11.22.111:5090&gt;;tag=c8a0d452edc5ac4b<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIP from address: sip:8885554549@173.11.22.111:5090<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; SIP tag: c8a0d452edc5ac4b<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To: &lt;sip:8885554549@173.11.22.111:5090&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Contact: &lt;sip:88855564549@10.8.11.149:5062&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Contact Binding: &lt;sip:8885554549@10.8.11.149:5062&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Supported: replaces, timer<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call-ID: aa77d777bae71be6@10.8.11.149<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CSeq: 100 REGISTER<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sequence Number: 100<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Method: REGISTER<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Expires: 3600<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User-Agent: Grandstream HT287 1.1.0.45 DevId 000b82127390<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Max-Forwards: 70<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Content-Length: 0<br>_______________________________________________________________<br><br>When Freeswitch replies back with a "401 Unauthorized" - asking for further Auth - it replies back to port 5062 - so the packet never comes back (pfsense is looking for a packet back on port 11521 in this case).&nbsp; <br><br>If I put the Static Port NAT in place - all is well, because the "Source" port shows as "5062" - the rest of the packet looks pretty much the same.<br><br>Now, here is a packet coming from one of the other Users - this one comes through a DD-WRT router - here we see that the Source Port is 5060 :<br><br>_________________________________________________________________<br>Internet Protocol, Src: 173.22.22.55 (173.22.22.55), Dst: 173.11.22.111 (173.11.22.111)<br>User Datagram Protocol, Src Port: sip (5060), Dst Port: 5090 (5090)<br>Session Initiation Protocol<br>&nbsp;&nbsp;&nbsp; Request-Line: REGISTER sip:173.11.22.111:5090 SIP/2.0<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Method: REGISTER<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Request-URI: sip:173.11.22.111:5090<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [Resent Packet: False]<br>&nbsp;&nbsp;&nbsp; Message Header<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Via: SIP/2.0/UDP 192.168.1.137;branch=z9hG4bK665bc67a1c64292b<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Transport: UDP<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sent-by Address: 192.168.1.137<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Branch: z9hG4bK665bc67a1c64292b<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; From: "fax" &lt;sip:8885554525@173.11.22.111:5090&gt;;tag=8dc68b35111c4261<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To: &lt;sip:8156564525@173.15.28.101:5090&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Contact: &lt;sip:8885554525@192.168.1.137&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Contact Binding: &lt;sip:8885554525@192.168.1.137&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call-ID: 0e551b3c694a793c@192.168.1.137<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CSeq: 503 REGISTER<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sequence Number: 503<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Method: REGISTER<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Expires: 3600<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User-Agent: Grandstream HT287 1.1.0.45 DevId 000b821203c5<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Max-Forwards: 70<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow: INVITE,ACK,CANCEL,BYE,NOTIFY,REFER,OPTIONS,INFO,SUBSCRIBE,UPDATE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Content-Length: 0<br>______________________________________________________________________<br><br>Here is one more packet coming from a Comcast/SMC Router - again, the source port is correct:<br><br>______________________________________________________________________<br>&nbsp;Internet Protocol, Src: 98.244.55.100 (98.244.55.100), Dst: 173.11.22.111 (173.11.22.111)<br>User Datagram Protocol, Src Port: sip (5060), Dst Port: 5090 (5090)<br>Session Initiation Protocol<br>&nbsp;&nbsp;&nbsp; Request-Line: REGISTER sip:173.11.22.111:5090 SIP/2.0<br>&nbsp;&nbsp;&nbsp; Message Header<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Via: SIP/2.0/UDP 10.1.10.150:5060;branch=z9hG4bK58981045;rport<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Transport: UDP<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sent-by Address: 10.1.10.150<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sent-by port: 5060<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Branch: z9hG4bK58981045<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RPort: rport<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; From: &lt;sip:8885554547@173.11.22.111:5090;user=phone&gt;;tag=138706651<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; To: &lt;sip:8885554547@173.11.22.111:5090;user=phone&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Call-ID: 1035241259-5060-1@10.1.10.150<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CSeq: 79875 REGISTER<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sequence Number: 79875<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Method: REGISTER<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Contact: &lt;sip:8885554547@10.1.10.150:5060;user=phone&gt;;reg-id=1;+sip.instance="&lt;urn:uuid:00000000-0000-1000-8000-000B821F9A84&gt;"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Contact Binding: &lt;sip:8885554547@10.1.10.150:5060;user=phone&gt;;reg-id=1;+sip.instance="&lt;urn:uuid:00000000-0000-1000-8000-000B821F9A84&gt;"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Max-Forwards: 70<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; User-Agent: Grandstream HT-503&nbsp; V1.1B 1.0.1.63<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Supported: path<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Expires: 300<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO, REFER, UPDATE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Content-Length: 0<br>___________________________________________________________<br><br>So, here are my questions:<br><br>- Why is the Sofia Status so much different for the registration coming through the pfSense firewall.&nbsp; It looks like it doesn't get tagged as being NAT'd and the "Contact" info is much less.<br><br>- Do most modern routers automatically Static Port NAT any SIP traffic?&nbsp; Both DD-WRT and SMC routers appear to be doing this - and not just on a simple Port bases (UDP 5060 only), because one of these examples is on 5062.&nbsp; Are these "SIP aware" firewalls that are doing this automatically, as&nbsp; the IPCOP did before?<br><br>- Is the extra "Contact" data in the last packet example different because it is a different UA (HT-503 rather than an HT-287)<br><br>- Is Freeswitch not flagging the registration from my office (User4) as being NAT'd because it is coming in on the same subnet as the interface Freeswitch received the packet on (Freeswitch is at 173.11.22.111 and pfsense is at 173.11.22.99)?<br><br>Sorry for this terribly long posting - I'm just very curious to understand what is going on here, now that I have collected all this information.<br><br>Thanks,<br><br>Dave<br><br>&nbsp;<br></div></body></html>