[Bug 444] REDIRECT not working in kernel 2.6.16-rc[12] as before (<= 2.6.15.x)

bugzilla-daemon at bugzilla.netfilter.org bugzilla-daemon at bugzilla.netfilter.org
Fri Feb 17 18:09:32 CET 2006


https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=444





------- Additional Comments From spiney at spiney.org  2006-02-17 18:09 MET -------
Yep, I extra-checked with uname, still running rc3-git8, so here's a shell
sample session: (hope bugzilla doesn't mangle the formatting, no preview?)

spiney at t43p:~$ su
t43p:/home/spiney# iptables -t nat -I OUTPUT -p tcp -d spiney.org --dport 25 -j
REDIRECT --to-ports 10025
t43p:/home/spiney# iptables -t nat -vnL
Chain PREROUTING (policy ACCEPT 6 packets, 1068 bytes)
 pkts bytes target     prot opt in     out     source               destination
        

Chain POSTROUTING (policy ACCEPT 336 packets, 20699 bytes)
 pkts bytes target     prot opt in     out     source               destination
        

Chain OUTPUT (policy ACCEPT 331 packets, 20399 bytes)
 pkts bytes target     prot opt in     out     source               destination
        
    0     0 REDIRECT   tcp  --  *      *       0.0.0.0/0           
213.133.98.22       tcp dpt:25 redir ports 10025 
t43p:/home/spiney# exit
spiney at t43p:~$ ssh -N -L 10025:localhost:25 213.133.98.22 &
[1] 25075
spiney at t43p:~$ telnet localhost 10025
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
220 ext.spiney.org ESMTP Postfix (Debian/GNU)
QUIT
221 Bye
Connection closed by foreign host.
spiney at t43p:~$ telnet 213.133.98.22 25
Trying 213.133.98.22...

spiney at t43p:~$ uname -r
2.6.16-rc3-git8


-- 
Configure bugmail: https://bugzilla.netfilter.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



More information about the netfilter-buglog mailing list