what about something along the lines of...<br><br>iptables -A INPUT -p udp --dport 5060 -j DROP<br>iptables -A INPUT -p udp -s <a href="http://192.168.0.0/24">192.168.0.0/24</a> --dport 5060 -j ACCEPT<br>iptables -A INPUT -p udp -s <a href="http://10.0.0.0/8">10.0.0.0/8</a> --dport 5060 -j ACCEPT<br>
iptables -A INPUT -p udp -s 66.66.66.66 --dport 5060 -j ACCEPT<br><br>Cheers<br><br><br><div class="gmail_quote">2009/2/9 Gordon Henderson <span dir="ltr">&lt;<a href="mailto:gordon%2Basterisk@drogon.net">gordon+asterisk@drogon.net</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Fri, 6 Feb 2009, oumar ndiaye wrote:<br>
<br>
&gt; Is there a way to restrict connection to my asterisk server to users based<br>
&gt; on their IP addresses, and not just password. I have some hackers who<br>
&gt; connect to my server to make illegitimate solicitation calls to people. I<br>
&gt; had to shutdown the server for now until I find a solution. ANY HELP?<br>
<br>
I&#39;m curious about hackers getting in when you have username and passwords<br>
set.<br>
<br>
How are they cracking the passwords in the first place?<br>
<br>
Gordon<br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
   <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br>