<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Bote,<br>
    <br>
    Thank you for noting this in response to my query. It was helpful in
    resolving my problems.<br>
    <br>
    Robert<br>
    <br>
    <div class="moz-cite-prefix">On 02/25/2015 06:58 AM, Bote Man wrote:<br>
    </div>
    <blockquote cite="mid:033101d05103$1cd90200$568b0600$@botecomm.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <meta name="Generator" content="Microsoft Word 14 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">FYI,
            I have just moved the High Availability and keepalived pages
            to Confluence.<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><a
              moz-do-not-send="true"
href="https://freeswitch.org/confluence/display/FREESWITCH/High+Availability">https://freeswitch.org/confluence/display/FREESWITCH/High+Availability</a><o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D">Bote<o:p></o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span
style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
            Sergey Safarov<br>
            <b>Sent:</b> Wednesday, 25 February, 2015 02:08<br>
            <b>Subject:</b> Re: [Freeswitch-users] server to NAT'd
            server gateways<o:p></o:p></span></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <div>
          <p class="MsoNormal">1) Create VPN connection betwen Sip_B
            (client) and Sip_A (server);<o:p></o:p></p>
          <div>
            <p class="MsoNormal">2) On VPN interface configure static IP
              address;<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal">3) Configure station on Sip_B and
              gateway on Sib_A;<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal">4) Route call from Sip_A to Sip_B like
              you has configured routing call  Sip_B to Sip_A;<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal">5) To allow FS listen on VPN IP when
              VPN connection is down cconfigure sysctl variable
              "net.ipv4.ip_nonlocal_bind = 1"<o:p></o:p></p>
          </div>
          <div>
            <p class="MsoNormal"><a moz-do-not-send="true"
                href="https://wiki.freeswitch.org/wiki/Freeswitch_HA">https://wiki.freeswitch.org/wiki/Freeswitch_HA</a><o:p></o:p></p>
          </div>
        </div>
        <div>
          <p class="MsoNormal"><o:p> </o:p></p>
          <div>
            <p class="MsoNormal">On Wed, Feb 25, 2015 at 5:37 AM, Robert
              Oldham &lt;<a moz-do-not-send="true"
                href="mailto:robert@oldhamtechnology.com"
                target="_blank">robert@oldhamtechnology.com</a>&gt;
              wrote:<o:p></o:p></p>
            <p class="MsoNormal">I have two FreeSWITCH servers that I
              need to gateway calls between.<br>
              Sip_A is on a public network with a static IP address.
              Sip_B is on a<br>
              private network that is NAT'd. I am trying to pass calls
              from devices<br>
              connected to Sip_B, through Sip_A and on to another
              server. I am also<br>
              trying to pass calls from Sip_A into Sip_B. I don't have
              access to the<br>
              firewall at the location of Sip_B so I am not able to
              forward standard<br>
              ports into Sip_B.<br>
              <br>
              I am fairly new to FreeSWITCH, so I'm not certain how to
              solve this<br>
              problem well. Many of the documents I have read online
              recommend using<br>
              ACLs and port forwards for this. However, the private
              network does not<br>
              have a static IP address that I can give access to and, as
              mentioned, I<br>
              cannot make port forwards. Instead, I have created an
              extension on Sip_A<br>
              and a gateway on Sip_B that registers using the extension
              on Sip_A. That<br>
              works fine for passing calls from Sip_B through Sip_A and
              on. Sip_B has<br>
              been maintaining a registered connection to Sip_A through
              the NAT'd<br>
              connection for several days now without trouble.<br>
              <br>
              Not knowing a better solution, I have been searching for a
              gateway<br>
              configuration on Sip_A that would allow it to route calls
              back over the<br>
              registered extension from Sip_B. I have not found a way to
              accomplish it<br>
              yet. As an alternative, I have also tried without success
              to create a<br>
              passive gateway on Sip_A that the gateway on Sip_B could
              register with.<br>
              <br>
              Any help is appreciated!<br>
              <br>
              Thanks,<br>
              Robert<br>
              <br>
              <br>
              <br>
_________________________________________________________________________<br>
              Professional FreeSWITCH Consulting Services:<br>
              <a moz-do-not-send="true"
                href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://www.freeswitchsolutions.com"
                target="_blank">http://www.freeswitchsolutions.com</a><br>
              <br>
              Official FreeSWITCH Sites<br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org"
                target="_blank">http://www.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
              <a moz-do-not-send="true" href="http://www.cluecon.com"
                target="_blank">http://www.cluecon.com</a><br>
              <br>
              FreeSWITCH-users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
              UNSUBSCRIBE:<a moz-do-not-send="true"
                href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
                target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
              <a moz-do-not-send="true" href="http://www.freeswitch.org"
                target="_blank">http://www.freeswitch.org</a><o:p></o:p></p>
          </div>
          <p class="MsoNormal"><o:p> </o:p></p>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>

Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>

FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
    </blockquote>
    <br>
  </body>
</html>