WRT54GL OpenWrt 10.03.1, route only some IP's to wan

uci set firewall.@defaults[0].forward="REJECT"
uci commit firewall
/etc/init.d/firewall restart

I set up in the defaults config forward="REJECT", but I can access furthermore the full 192.168.2.0/24? What goes wrong?

@all
I know that the device is very old, but I use it for my audio system without internet access.

Perhaps the firmware is too old, so some features don't work as expected.
Just add another finishing rule to reject all the rest forward traffic.

Can you please define this rule for me?

If this does not work, I use it for hammer testing :grinning:

OK, here is the last rule and now it works...

config 'rule' 'reject_all'                        
        option 'src' 'lan'                        
        option 'dest' 'wan'                       
        option '_name' 'reject_all'               
        option 'target' 'DROP'                    
        option 'enabled' '1'  
1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.