7 Replies Last post: Jun 21, 2008 10:43 PM by joegen  
  4 posts since
Jun 21, 2008

Jun 21, 2008 7:30 PM

OpenSBC and NAT

Greetings, I'm new to OpenSBC and relatively new to SIP as well. I understand that OpenSBC can be used to allow a IP PBX to traverse NAT for purposes such as connecting to an ITSP. I've got a test OpenSBC box which currently sits directly behind my PIX firewall with a static public-private NAT translation. My attempts to follow the quickstart instructions and establish a connection with the public echo server have failed. I've enabled tcpdump on the OpenSBC box and can see SIP INVITES going out to fwd.pulver.com, however, no responses are received. I suspect that this has to be due to the Contact URI which still references the private IP address on captured outbound packets to fwd.pulver.com. I've set the "Static RTP Media Address" with my public IP address but this only seems to apply to RTP. I'm probably missing something obvious. Any help would be greatly appreciated! Thanks
  11 posts since
Jan 31, 2008
1. Jun 21, 2008 7:42 PM in response to: laleger
Re: OpenSBC and NAT
What version of OSBC are you running laleger?
  11 posts since
Jan 31, 2008
3. Jun 21, 2008 8:14 PM in response to: laleger
Re: OpenSBC and NAT
You might want to try downloading the latest source from CVS, I believe the current on there is 1.1.5-5; there are a lot more options and controls since 1.1.4, you might find that it may simplify the administration - I know that the two "static via" fields aren't two anymore there's just one. Give that a shot and see what you find.
Click to view ehernaez's profile   67 posts since
Aug 28, 2007
5. Jun 21, 2008 9:28 PM in response to: laleger
Re: OpenSBC and NAT
If you provide more details about your call flow, it will be easier to diagnose your problem. What OSBC mode are you using? What are you using to originate the calls? Are you registering to OSBC, or to a separate SIP server?
Click to view joegen's profile   519 posts since
Apr 28, 2007
7. Jun 21, 2008 10:43 PM in response to: laleger
Re: OpenSBC and NAT
Is OpenSBC itself behind the NAT? OpenSBC is not built for near-end NAT traversal. OpenSBC is a "Far-End" NAT solution. By this I mean OpenSBC should be hosted in the public space.

Private-Network (LAN) -> NAT -> WAN -> OSBC -> ITSP

This setup will not work

Private-Network (LAN) -> OSBC (LAN) -> NAT -> WAN -> ITSP

There are plan to develop near-end nat traversal functionality but this is still in the drawing board.

Joegen

{quote:title=laleger wrote:}{quote}

Sorry, I'm just attempting to get the example working that is provided on the quickstart at [http://www.opensipstack.org/sbc_man_quickstart.html] so my configuration reflects such...

B2B Only Mode...X-Lite soft phone registers directly into OpenSBC via local domain account configuration

My end goal is to use OpenSBC as a B2BUA to integrate with my ITSP which is bandwidth.com but I want to work through any potential NAT traversal issues first...