Re: allowing packets from dynamic-dns IP

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Saturday 2008-04-26 18:34, Yakov Lerner wrote:

>How can I have a rule that's bound to a semi-dynamic external IP (IP changes
>several times a week) that's bound to known fixed domain name (dynamic-dns) ?
>
>Is there better solution than crontab-script, that every 10 minutes
>resolves this domain and reinstalls iptables rule if IP changed ?

The best solution is a script that runs after the interface
was brought up. Usually this is -- depending on distro --
in /etc/sysconfig/network/if-up.d/.

--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux