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

Joerg Pommnitz (pommnitz@yahoo.com)
Wed, 18 Sep 2002 15:49:07 +0200 (CEST)


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?

Regards
Jörg

=====

-- 
Regards
       Joerg

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de Möchten Sie mit einem Gruß antworten? http://grusskarten.yahoo.de - 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/