Yeah, you are missing all :-) <div><br></div><div>Sorry, read the thread again.<br><br><div class="gmail_quote">On Sat, Oct 2, 2010 at 5:05 PM, sean darcy <span dir="ltr"><<a href="mailto:seandarcy2@gmail.com">seandarcy2@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 10/02/2010 04:09 PM, bruce bruce wrote:<br>
> Can't I in my ip tables just accept the <a href="http://pap2t.dyndns.org" target="_blank">pap2t.dyndns.org</a><br>
</div>> <<a href="http://pap2t.dyndns.org" target="_blank">http://pap2t.dyndns.org</a>> if that is bind to the PAP2T? do you think the<br>
<div class="im">> devices comes in with it's external IP rather than the dyndns domain?<br>
><br>
> Thanks<br>
><br>
> On Sat, Oct 2, 2010 at 3:43 PM, bruce bruce <<a href="mailto:bruceb444@gmail.com">bruceb444@gmail.com</a><br>
</div><div class="im">> <mailto:<a href="mailto:bruceb444@gmail.com">bruceb444@gmail.com</a>>> wrote:<br>
><br>
> I was confusing the asterisk server side of sip_nat with the PAP2T.<br>
> So, PAP2T can only register to DynDNS and that's all.<br>
><br>
> What sort of a script would I be looking for? something to query<br>
> DynDNS for the new IP of the device to add to firewall? This might<br>
> however bring down time if inquiry is not successful.<br>
><br>
> Or can I setup my own Dyndns server on the Asterisk server and have<br>
> those PAP2T units registered to it and then work it from there when<br>
> their IPs change?<br>
><br>
> Thanks<br>
><br>
> On Sat, Oct 2, 2010 at 3:32 PM, jon pounder <<a href="mailto:jonp@inline.net">jonp@inline.net</a><br>
</div><div class="im">> <mailto:<a href="mailto:jonp@inline.net">jonp@inline.net</a>>> wrote:<br>
><br>
> On 10/02/2010 03:31 PM, bruce bruce wrote:<br>
>> Hi,<br>
>><br>
>> Can you please explain the DynDNS part. How would I put that<br>
>> in my Asterisk server as an identified party? Usually it comes<br>
>> to me with IP address (dynamic). Or do add something like this<br>
>> in sip_nat.conf:<br>
>><br>
</div>>> externip=<a href="http://mybox.dyndns.org" target="_blank">mybox.dyndns.org</a> <<a href="http://mybox.dyndns.org" target="_blank">http://mybox.dyndns.org</a>><br>
<div class="im">>> localnet=<a href="http://192.168.0.0/255.255.255.0" target="_blank">192.168.0.0/255.255.255.0</a><br>
</div>>> <<a href="http://192.168.0.0/255.255.255.0" target="_blank">http://192.168.0.0/255.255.255.0</a>><br>
<div class="im">><br>
> every time the address changes you have to have some script to<br>
> make the change in your firewall.<br>
><br>
>><br>
>> ???<br>
>><br>
>> Thansk again,<br>
>><br>
>> On Sat, Oct 2, 2010 at 2:59 PM, jon pounder <<a href="mailto:jonp@inline.net">jonp@inline.net</a><br>
</div><div><div></div><div class="h5">>> <mailto:<a href="mailto:jonp@inline.net">jonp@inline.net</a>>> wrote:<br>
>><br>
>> On 10/02/2010 02:56 PM, bruce bruce wrote:<br>
>> > Hi Everyone<br>
>> ><br>
>> > I think PAP2T supports DynDNS and other Dynamic DNS<br>
>> providers. I have<br>
>> > a box that needs to be secured at all times. Currently<br>
>> it's not<br>
>> > connected to the internet. If it were connected, I would<br>
>> have iptables<br>
>> > block any and all traffic from outside but I want a<br>
>> single device -<br>
>> > Linksys PAP2T - to be able to connect back to the<br>
>> server. That is a<br>
>> > stand alone device and doesn't support VPN and I don't<br>
>> have the luxury<br>
>> > of putting a VPN client on the PAP2T side to connect<br>
>> back to the<br>
>> > server. Is there any way I can DynDNS on the PAP2T to<br>
>> somehow notify<br>
>> > the Asterisk Server that it's a safe device coming in?<br>
>> ><br>
>> > I do use fail2ban but that is not what I am looking for<br>
>> at this<br>
>> > moment. And since the IP is dynamic on the PAP2T, I<br>
>> can't just use the<br>
>> > iptables to let it in as it might change all a sudden.<br>
>> ><br>
>> > Thanks<br>
>> do the dyndns on whatever router is in front of the pap2t<br>
>> or<br>
>> get some other box that supports it.<br>
>><br>
>><br>
>> other than that you are looking for some sort of magic bullet<br>
>><br>
>> --<br>
>> _____________________________________________________________________<br>
>> -- Bandwidth and Colocation Provided by<br>
>> <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
>> New to Asterisk? Join us for a live introductory webinar<br>
>> every Thurs:<br>
>> <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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>
>><br>
>><br>
><br>
><br>
> --<br>
> _____________________________________________________________________<br>
> -- Bandwidth and Colocation Provided by<br>
> <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
> New to Asterisk? Join us for a live introductory webinar every<br>
> Thurs:<br>
> <a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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>
><br>
><br>
><br>
<br>
</div></div>I'm puzzled. Do you want the pap2t to connect directly to the internet?<br>
If so, then what does this have to do with asterisk or your box?<br>
<br>
If you want the pap2t to be connected to asterisk on your box, then the<br>
box has two interfaces. One is internal and open to a static address on<br>
pap2t, the other on the internet and subject to iptables. You can port<br>
forward to the pap2t.<br>
<br>
Or am I missing something?<br>
<br>
sean<br>
<font color="#888888"><br>
<br>
<br>
<br>
--<br>
</font><div><div></div><div class="h5">_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</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>
</div></div></blockquote></div><br></div>