On Wed, 2006-10-11 at 10:09 +0200, Holger Kinkelin wrote: > Hello everybody > > how can I redirect packets sent to my computer to another port? > > I tried: iptables -A PREROUTING -t nat -p udp --dport 5060 --sport > 5060 -j DNAT --to-destination 192.168.0.21:5063 > > This rule is accepted but doesn't do anything. There are no other > rules that could cause side effects. > > Regards, > Holger > > Make sure forwarding is turn on on your box. Execute the following command: echo 1 > /proc/sys/net/ipv4/ip_forward MF