[asterisk-users] Security - Using Linksys PAP2T from outside with a dynamic IP is there anyway to block all other traffic but those of the PAP2T?

Steve Edwards asterisk.org at sedwards.com
Sun Oct 3 03:01:14 CDT 2010


On Sat, 2 Oct 2010, Kyle Kienapfel wrote:

> You're not going to be able to put a dns hostname in the iptables, but 
> you could have a script that runs at times and gets the ip address for 
> your dynamic hostname and allows that.

Almost.

You can put a host name in iptables, but it is resolved when loaded.

You could restart iptables when your dynamic host name changes and it will 
be resolved correctly with the new IP address.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list