randalla
New Around Here
I use my RT-N66U in my work office. For what I do, I have a port open on the router, which was simple to do with the built in NAT. However, what I need to do is restrict that port to only be accessible on the WAN by a couple of specific external IPs.
I bought the RT-N66U understanding that it was Linux based with iptables, which should be able to do what I want. I can telnet in and play with iptables, but I don't know what to add to the filter table (if that's the right one) to drop the connection except from my allowed IPs.
I am currently using my Windows firewall to do what I'm trying to do on the router, but it's not an ideal solution as it conflicts with another firewall service. I can't go into details on that.
Any help would be greatly appreciated.
Other things: The RT-N66U is currently stock, with firmware version 3.0.0.4.270. I understand that any changes I make to iptables will not persist beyond reboots, and this is fine for now. I'll move over to the jffs enabled version I've seen here, once I know that it all works.
I bought the RT-N66U understanding that it was Linux based with iptables, which should be able to do what I want. I can telnet in and play with iptables, but I don't know what to add to the filter table (if that's the right one) to drop the connection except from my allowed IPs.
I am currently using my Windows firewall to do what I'm trying to do on the router, but it's not an ideal solution as it conflicts with another firewall service. I can't go into details on that.
Any help would be greatly appreciated.
Other things: The RT-N66U is currently stock, with firmware version 3.0.0.4.270. I understand that any changes I make to iptables will not persist beyond reboots, and this is fine for now. I'll move over to the jffs enabled version I've seen here, once I know that it all works.