Router: Linksys E2500 Firmware: DD-WRT v24-sp2 (03/25/13) big
What I want to do:
Conditionally forward incoming IPs for a range of ports to a specific DHCP address on my network.
What I've done:
- Tried enabling port forwarding from the GUI for the range but was unable to work in any additional logic to iptables to limit incoming connections.
- Tried disabling all port forwarding in the GUI (individual and range forwarding) and adding manual entries.
I thought the most promising attempt would be with the following logic, but it's still failing:
- Disable all port forwarding in the GUI.
- iptables -A FORWARD -p tcp -s $incoming_ip -d $dhcp_ip --dport 25025:25050 -j ACCEPT
I've looked over the DD-WRT forums endlessly, searched this site, and have been scouring the web and I can't figure this out. Please Help!