<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><br>Muhammad,<div><br><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;">Thanks for your reply. I suppose that Steven's answer is more on topic of my question.</blockquote><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><br></blockquote>Regards,<br>Pavel.<div><hr id="stopSpelling">From: nbhatti@gmail.com<br>Date: Fri, 11 Sep 2015 20:16:51 +0300<br>To: freeswitch-users@lists.freeswitch.org<br>Subject: Re: [Freeswitch-users] ACL for ESL issue ?<br><br><div><br></div>You need to create a new ACL in acl.conf.xml and set that ACL in event_socket so you will be allowed to connect.&nbsp;loopback.auto would allow connections only from 127.0.0.1.<br><div>
<div style="color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><br class="ecxApple-interchange-newline">Thank you,</div><div style="color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;">—</div><div style="color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;">Muhammad Naseer Bhatti</div><div style="color:rgb(0, 0, 0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><br></div><br class="ecxApple-interchange-newline">
</div>
<br><div><blockquote><div>On Sep 11, 2015, at 2:58 PM, Pavel &lt;<a href="mailto:my.post@hotmail.com">my.post@hotmail.com</a>&gt; wrote:</div><br class="ecxApple-interchange-newline"><div><div dir="ltr" style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;">Hello,<br>&nbsp;I was trying to enable esl connections from outside of fs host. To do so I've followed&nbsp;<a href="https://wiki.freeswitch.org/wiki/Mod_event_socket#Configuration" target="_blank">https://wiki.freeswitch.org/wiki/Mod_event_socket#Configuration</a>&nbsp;and changed default&nbsp;event_socket.conf.xml<br>from:<div><br><div><div>&lt;configuration name="event_socket.conf" description="Socket Client"&gt;</div><div>&nbsp; &lt;settings&gt;</div><div>&nbsp; &nbsp; &lt;param name="nat-map" value="false"/&gt;</div><div>&nbsp; &nbsp; &lt;param name="listen-ip" value="::"/&gt;</div><div>&nbsp; &nbsp; &lt;param name="listen-port" value="8021"/&gt;</div><div>&nbsp; &nbsp; &lt;param name="password" value="ClueCon"/&gt;</div><div><span style="font-size:12pt;">&nbsp; &lt;/settings&gt;</span></div><div>&lt;/configuration&gt;</div><div><br>to:</div><div><br></div><div><div>&lt;configuration name="event_socket.conf" description="Socket Client"&gt;</div><div>&nbsp; &lt;settings&gt;</div><div>&nbsp; &nbsp; &lt;param name="nat-map" value="false"/&gt;</div><div>&nbsp; &nbsp; &lt;param name="listen-ip" value="0.0.0.0"/&gt;</div><div>&nbsp; &nbsp; &lt;param name="listen-port" value="8021"/&gt;</div><div>&nbsp; &nbsp; &lt;param name="password" value="ClueCon"/&gt;</div><div><span style="font-size:12pt;">&nbsp; &lt;/settings&gt;</span></div><div>&lt;/configuration&gt;</div></div><div><br>and issued:&nbsp;</div><div>reload mod_event_socket.<br><br>Trying to telnet to fs host on port 8021 I observe:<br><br><div>Content-Type: text/rude-rejection</div><div>Content-Length: 24</div><div><br></div><div>Access Denied, go away.</div><div>Content-Type: text/disconnect-notice</div><div>Content-Length: 67</div><div><br></div><div>Disconnected, goodbye.</div><div>See you at ClueCon!<span class="ecxApple-converted-space">&nbsp;</span><a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a></div><div>Connection closed by foreign host.</div><div><br></div>And in fs log i can see the following:<br><br>mod_event_socket.c:2603 IP "someiphere" Rejected by acl "loopback.auto"<br><br>But as far as I understand the&nbsp;<span style="font-size:12pt;">event_socket.conf.xml doesn't mention any ACL set up against ESL connection ?</span></div><div>Would someone please be so kind to point what am I missing ?</div><div>Thanks.</div><div>Regards,</div><div>Pavel.</div><div><span style="font-size:12pt;"><br></span></div><div><br></div><br></div></div></div><span style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline !important;">_________________________________________________________________________</span><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><span style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline !important;">Professional FreeSWITCH Consulting Services:<span class="ecxApple-converted-space">&nbsp;</span></span><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><a href="mailto:consulting@freeswitch.org" style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;">consulting@freeswitch.org</a><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><a href="http://www.freeswitchsolutions.com/" style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;" target="_blank">http://www.freeswitchsolutions.com</a><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><span style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline !important;">Official FreeSWITCH Sites</span><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><a href="http://www.freeswitch.org/" style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;" target="_blank">http://www.freeswitch.org</a><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><a href="http://confluence.freeswitch.org/" style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;" target="_blank">http://confluence.freeswitch.org</a><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><a href="http://www.cluecon.com/" style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;" target="_blank">http://www.cluecon.com</a><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><span style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline !important;">FreeSWITCH-users mailing list</span><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;">FreeSWITCH-users@lists.freeswitch.org</a><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><span style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;display:inline !important;">UNSUBSCRIBE:http://</span><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;" target="_blank">lists.freeswitch.org/mailman/options/freeswitch-users</a><br style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;"><a href="http://www.freeswitch.org/" style="font-family:Calibri;font-size:16px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;" target="_blank">http://www.freeswitch.org</a></div></blockquote></div><br><br>_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting@freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org</div></div>                                               </div></body>
</html>