Hello everyone!
I'm trying to setup port forwarding on my wr740n (BARRIER BREAKER 14.07, r42625)
Wr740n's lan - 192.168.2.0/24, wan - 192.168.1.111 (yes, it connected to another lan for testing purposes)
I have server in my openwrt lan (192.168.2.2 for example) with ht***p server on port 80, and it reachable from openwrt (tested with wget).
And i have a rule in /etc/config/firewall (created from luci web interface), which listens port 8080 in wan and redirects it to 80 in lan, ip 192.168.2.2
But when i try to connect to it from .1.0/24 lan (for example, 192.168.1.111:8080), nothing works ..
I trying to disable firewall (/etc/init.d/firewall disable), but still no results..
Please, tell me how i can solve my problem!
/ etc/config/firewall (last rule)
config redirect
option target 'DNAT'
option src 'wan'
option dest 'lan'
option proto 'tcp udp'
option src_dport '8080'
option dest_ip '192.168.2.2'
option dest_port '80'
option name 'Webserver'