Hello I am trying to setup a linksys e1200 as an internet router with 30 public ips. I want all the public ips to have access to the internet but I want the internet to have access to only certain ports and ips behind my router. Do I need to run iptables commands for this? Can I use the access restrictions for this? My public interface shows as vlan2 and my private interface shows as br0 with ifconfig. If I wanted to allow access to port 80 and 8080 behind br0 to ip address a.a.a.a what commands should I run?
setting up rules for tomatousb as internet router