Hello :) > You can parse the output of 'dig' or 'nslookup' in your > /etc/shorewall/params file and set your variables that way. If the > lookup fails, you set some some of default address (the last one you > looked up manually, for example).
Tom once said the above statement, and I couldn't find anymore info about this in the shorewall docs or mailing list archives. In South Africa its not so easy/cheap to get a static IP so we use dynamic dns often and therefore sometimes have to use dns names in the rules file. I would love to find out how better to do this. Would someone be able to provide an example for the above recommendation from Tom? (a params file that looks up the IP of the DNS name and if fails reverts to some other IP or something better/similar?) My shorewall has failed a few times as I put a script in place that restarts shorewall at 5:30 and 19:30 so that I could connect from home with my dyndns address(because then shorewall/iptables learns the new dyndns IP). Thanks for any suggestions/ideas -- Divan Santana Skype: DivanSantana Gtalk/MSN: [EMAIL PROTECTED] Love God, Love People, Love Life! ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Shorewall-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/shorewall-users
