You've got some reading to do
http://www.netfilter.org/
Where did you get the gatway and LAN IP addresses from? Did you just make up a number?
Do some work and we can help you fine tune it (like only allowing W1 and W4 on the internet. Hell we can make it some W1 and W4 are only allowed online at certain times even. Just show some incentive.