Help needed to configure iptables in a router running linux firmware


New Member
Jul 11, 2019
Reaction score
Help Needed for IPTABLES.Hello all I am configuring IP tables for my router wth linux firmware , have two VLAN's VLAN3(192.168.0.x/24) and VLAN4(10.0.0.x/16).I have further associated them with br0 and br1 bridge interfaces.As VLAN's they work fine and issue IP address as per the configuration.I wanted entire traffic of br1(VLAN4) to be blocked entering br0(VLAN3) and used following commands as could search online but still the br1 network systems can comfortably ping the systems present in br0 network. Kindly guide the appropriate commands to fix the issue,also

#Internet Access(etho is virtual port having WAN) iptables -I FORWARD -i br1 -o eth0 -m state --state NEW -j ACCEPT
#Incoming Network Access to br0 block iptables -I FORWARD -i br1 -o br0 -m state --state NEW -j DROP
#Block Router Access iptables -I INPUT -i br1 -m state --state NEW -j DROP
#Allow DHCP Access iptables -I INPUT -i vlan3 -p udp --dport 67 -j ACCEPT iptables -I INPUT -i vlan4 -p udp --dport 67 -j ACCEPT
$100 Digital Ocean Credit
Get a free VM to test out Linux! Hosting Donations
Consider making a donation

Members online