Redirecting incoming packets to other port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux