Re: [suse-security] Iptables bug?!
Yep....it's my mistake....I'm sorry. Obviusly I removed EXACTLY the same rule....but I wrote wrong just using the cut and paste while writing my message. Thanks, Fab Timo Räty <timo.raty@allgon.fi> wrote: Hello,
I'm using suse 7.3 and iptables v1.2.2.
Performing a prerouting operation like the folowing one:
iptables -t nat -A PREROUTING -p tcp --dport 139 -i ppp0 -j DNAT --to 192.168.1.5:139
I got an anomaly because even though it's really working fine it goes on to forward the packets when removed by this:
iptables -t nat -D PREROUTING -p tcp --dport 5900 -i ppp0 -j DNAT --to 192.168.1.5:5900
I couldn't explain that such iptables' behaviour....is here anyone who can?
I'm not 100% sure but shouldn't you remove the EXACT rule? This would mean that the latter (-D, delete command) does not remove the former (-A, added rule). Check this with iptables -L /iptables -t nat -L to see what rules you really have there. I could be wrong too, regards, timo --------------------------------- Yahoo! Cellulari: loghi, suonerie, picture message per il tuo telefonino
participants (1)
-
Fabrizio Di Meo