[Bug 472] New: REDIRECT target translates all packets' destination to main IP of interface

bugzilla-daemon at bugzilla.netfilter.org bugzilla-daemon at bugzilla.netfilter.org
Tue Apr 18 15:42:20 CEST 2006


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

           Summary: REDIRECT target translates all packets' destination to
                    main IP of interface
           Product: netfilter/iptables
           Version: linux-2.6.x
          Platform: All
        OS/Version: RedHat Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: NAT
        AssignedTo: laforge at netfilter.org
        ReportedBy: alexey.polyakov at gmail.com


I have a rule in nat PREROUTING chain:

-A PREROUTING -i eth0+ -p tcp -m tcp --dport 80 -m state --state NEW -j 
REDIRECT --to-ports 81

I have two aliases for eth0 device (eth0:0 and eth0:1).
The problem is that packets destined for alias IP address port 80 after 
PREROUTING get to main eth0 IP on port 81.

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



More information about the netfilter-buglog mailing list