I have been searching for hours to find a solution to this question, so I apologize if its already been answered.. I have a strong Pix/ASA background, and I am getting lost with iptables...
I am running DD-WRT on a linksys router. I have the DD--WRT "WAN" port plugged into my LAN so its external IP address is on my internal network and uses my normal gateway as its egress. The WiFi is setup essentially as a guest network which I do not want to be able to access my internal network. But in its current configuration, all traffic is passed through the Wifi vlan/network to the WAN interface so the "guests" can scan/access my internal network since my "internal" is on the DD-WRT's WAN interface.
I want to apply an IPTables rule (or other type of rule) to prevent communication to every IP address other than my Internal networks gateway (which is the DD-WRT's External egress).
DD-WRT's Internal Network (linksys routers WAN) = eth0 192.168.1.1/24 gw: 192.168.1.2
WiFi = ath0 Subnet 192.168.200.2/24 (only have 1 interface (2.4ghz) enabled on this for "guest" access)
Does anyone have a recommendation for how to apply an IP tables rule to prevent all communication from ath0 to eth0 with a source of 192.168.200.0/24 to IP addresses 192.168.1.3 - 192.192.168.1.255?
Any advice would be greatly appreciated...
Thank you!