Re: allowing packets from dynamic-dns IP

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

 



On Sunday 2008-04-27 00:07, Josh Cepek wrote:
> Yakov Lerner wrote:
>>
>> I need to setup iptables on system A to drop packets from all IPs
>> except packets coming from system B. System B has dynamic IP
>> (dynip.sh).  B's DNS name is known but B's IP is not fixed. What
>> are my options to setup iptables on A ?
>
> iptables only deals with IP addresses, although it will convert a
> DNS name in the command to an IP (or series of IP's if the lookup
> returns multiple A records.)

iptables will error out if it resolves to more than one and the
specific option (= most) only takes one.
--
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