Re: NAT to a broadcast addess using iptables?
- From: news@xxxxxxxxxxxxxxxxxx
- Date: 27 Nov 2006 09:06:00 -0800
Pascal Hambourg wrote:
Hello,
news@xxxxxxxxxxxxxxxxxx a écrit :
Oh, so you're looking for iptables gurus... then don't bother to read my
reply.
LOL
Netfilter/iptables itself does not care whether an IP addresse is a
broadcast or unicast address (which can cause trouble with connection
tracking). But in the Linux kernel IP stack, the DNAT operation in the
PREROUTING chain takes place before the input routing decision is taken.
So the input routing algorithm receives a packet with a broadcast
destination address, but it won't forward such packets. Broadcast
packets can only be sent or received locally, not forwarded.
(Yes, I know it's insane, but is it possible!?)
I'm afraid it is not possible to do this with iptables. Is your goal to
do some kind of remote wake-on-LAN ?
Indeed it is - exactly that.
.
- Follow-Ups:
- Re: NAT to a broadcast addess using iptables?
- From: Pascal Hambourg
- Re: NAT to a broadcast addess using iptables?
- References:
- NAT to a broadcast addess using iptables?
- From: news
- Re: NAT to a broadcast addess using iptables?
- From: Pascal Hambourg
- NAT to a broadcast addess using iptables?
- Prev by Date: Re: NAT to a broadcast addess using iptables?
- Next by Date: Re: NAT to a broadcast addess using iptables?
- Previous by thread: Re: NAT to a broadcast addess using iptables?
- Next by thread: Re: NAT to a broadcast addess using iptables?
- Index(es):
Relevant Pages
|