#18057: NAT Loopback, NAT Reflection appears to be broken.
-------------------------------------+-----------------------------------
Reporter: wbr@… | Owner: developers
Type: defect | Status: new
Priority: normal | Milestone:
Component: base system | Version: Barrier Breaker 14.07
Keywords: nat loopback reflection |
-------------------------------------+-----------------------------------
In LuCI, if I create a wan forwarding rule from port 2222 to port 22 on
any router interface, and I check NAT Loopback, the reflection rules are
not created in iptables. This broke somewhere between r42475 and r42682.
It is still broken in r42801.
/etc/config/firewall
{{{
config redirect
option target 'DNAT'
option src 'wan'
option src_dport '2222'
option dest_port '22'
option name 'Remote Admin'
option dest 'lan'
option proto 'tcp'
}}}
Then after firewall (or entire router) restart
{{{
root@WNDR3800:~# iptables-save | grep 22
-A zone_wan_prerouting -p tcp -m tcp --dport 2222 -m comment --comment
"Remote Admin" -j REDIRECT --to-ports 22
}}}
--
Ticket URL: <https://dev.openwrt.org/ticket/18057>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets