Download the Tom's Hardware App from the App Store
The reference for current tech news
Yes No

DD-wrt Firewall

Forum General Networking : Firewalls DD-wrt Firewall

Word :    Username :           
 

Hello,
I have a Netgear WNR3500 with v24-sp2 big on it.I have 3 bridges, br0,br1,br2. I have 3 vlans. Vlan1 is a client lan. Vlan2 is the wan.Vlan3 is the server lan. Br0 contains eth1,vlan1.Br1 contains vlan3. Br2
contains wl0.1 which is a guest wifi. Each of the bridges has an ip and is pingable. My firewall is the following


# Allow all vlans access to internet
iptables -I FORWARD -i br1 -o ppp0 -m state --state NEW -j ACCEPT
iptables -I FORWARD -i br0 -o ppp0 -m state --state NEW -j ACCEPT
iptables -I FORWARD -i br2 -o ppp0 -m state --state NEW -j ACCEPT


# Allow all communication between server vlan and client vlan
iptables -I FORWARD -i br1 -o br0 -j ACCEPT
iptables -I FORWARD -i br0 -o br1 -j ACCEPT


# Allow access to dsl modems


# Disllow communication of client lan and guest wifi
iptables -I PREROUTING -i br0 -o br2 -j logdrop
iptables -I PREROUTING -i br2 -o br0 -j logdrop
# Disllow communication of server lan and guest wifi
iptables -I FORWARD -i br1 -o br2 -j logdrop
iptables -I FORWARD -i br2 -o br1-j logdrop
iptables -I INPUT -i br2 -p tcp -m multiport &#-106;dports 21,22,23,80,443 -j DROP
iptables -I INPUT -i br0 -p tcp -m multiport &#-106;dports 21,22,23,80,443 -j DROP

Yet after I put in place this firewall the guest wifi can still talk to all the other bridges.Maybe someone can help me figure out why. I am scratching my head.

Reply to mitchell3405
Register or log in to remove.
Tom's Hardware > Forum > General Networking > Firewalls > DD-wrt Firewall
Go to:

There are 626 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
  • Ask the community now
  • Publish
Ad
Latest best answer
General IT Vocabulary Help
By TheViper, 907 days ago:

Bus Speeds - The most commonly inferred bus is the Front Side Bus. This is the...

They won a badge
Join us in greeting them