Re: Redirecting incoming packets to other port

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

 



Le mercredi 11 octobre 2006 à 10:09 +0200, Holger Kinkelin a écrit :
> 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.

Is your filtering ruleset consistent with this ? I.e. are theses packets
allowed by a FORWARD or INPUT rule ? If you want to redirect traffic to
your host, you can give a try to REDIRECT target.


-- 
http://sid.rstack.org/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE
>> Hi! I'm your friendly neighbourhood signature virus.
>> Copy me to your signature file and help me spread!



[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