[OpenWrt-Tickets] [OpenWrt] #2558: iptables rules doesnt work after some time
OpenWrt
openwrt-devel at lists.openwrt.org
Tue Jul 15 13:16:45 CEST 2008
#2558: iptables rules doesnt work after some time
---------------------------+------------------------------------------------
Reporter: mangel at gmx.de | Owner: developers
Type: defect | Status: new
Priority: high | Milestone: Kamikaze 7.09
Component: base system | Resolution:
Keywords: |
---------------------------+------------------------------------------------
Comment(by kthaa at yahoo.com):
I've noticed that destination port numbers are altered somewhere between
prerouting_wan and forwarding_wan when using DNAT.
In my case, I had a rule mapping external port 80 to local 80 (tcp dpt:80
to:192.168.7.10:80). The DPT was correct during prerouting_wan (80) and
got translated to 85 (!!!) when forwarding_wan rules were interpreted.
Funny thing, adding the rule: tcp dpt:80 to:192.168.7.10:75 got my www
mapping working again (sure, my local www was still running on 80).
--
Ticket URL: <https://dev.openwrt.org/cgi-bin/trac.fcgi/ticket/2558#comment:13>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
More information about the openwrt-tickets
mailing list