Hello, no this doesn't seem to work. I can REDIRECT packets sent BY my computer, not packets sent TO it. Is there maybe another posibility? Regards, Holger PS: Thanks to Brent for his reply 2006/10/11, Brent Clark <bclark@xxxxxxxxxxxxxxx>:
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 http://www.linuxtopia.org/Linux_Firewall_iptables/x4508.html HTH Kind Regards Brent Clark