Re: [PATCH] Networking: send-to-self

Ben Greear (greearb@candelatech.com)
Wed, 18 Sep 2002 09:51:18 -0700


Joerg Pommnitz wrote:
> Hi Ben,
> I had the exact same problem in March (see
> http://marc.theaimsgroup.com/?l=linux-kernel&m=101679264814811&w=2). The
> hacky solution I came up with was to use the following NAT rule:
>
> iptables -t nat -A POSTROUTING -o eth0 -d 10.1.12.151 -p udp --dport 12345
> -j SNAT --to 1.2.3.4
>
> This way the packets claimed to come from a foreign IP address and were
> accepted. However, when the packets hit an ingress filter on their way,
> this will fail.
>
> Will you push this to DaveM for inclusion?

Dave has the link to the patch, but whether or not he will include
it in the kernel proper I do not know. I hope he does, of course.

Ben

>
> Regards
> Jörg
>
> =====

-- 
Ben Greear <greearb@candelatech.com>       <Ben_Greear AT excite.com>
President of Candela Technologies Inc      http://www.candelatech.com
ScryMUD:  http://scry.wanfear.com     http://scry.wanfear.com/~greear

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/