[wplug] IP forwarding with iptables?
Tim Lesher
tim at lesher.ws
Wed Feb 11 13:00:54 EST 2004
I'm trying to forward inbound udp traffic to a privileged port, to an
unprivileged port on the same box. The purpose is to let a non-suid
daemon handle the traffic. The environment is Debian Sarge, kernel
version 2.4.22.
I've turned on ip_forward in /proc/..., and I've tried the following
iptables commands:
iptables -t nat -A PREROUTING -p udp --dport 142 -j DNAT --to :8142
But I'm still getting packets on port 142, not 8142. Any suggestions?
--
Tim Lesher <tim at lesher.ws>
http://www.lesher.ws
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://penguin.wplug.org/pipermail/wplug/attachments/20040211/5423d419/attachment-0001.bin
More information about the wplug
mailing list