Ok, so i kinda made some progress. I hooked up a laptop to the eth0 side of the network with a crossover and made it route out through the wireless by:
adding these lines to /etc/iptables.up.rules
Code:
-A PREROUTING -i eth0 -j ACCEPT
-A PREROUTING -j ACCEPT
-A PREROUTING -m state -i wlan0 --state ESTABLISHED,RELATED -j ACCEPT
and using eth0 as the gateway. Worked great really.
So i basically tried the same thing but in the opposite direction:
Code:
-A PREROUTING -i wlan0 -j ACCEPT
-A PREROUTING -j ACCEPT
-A PREROUTING -m state -i eth0 --state ESTABLISHED,RELATED -j ACCEPT
and used the wlan0 ip for the gateway on a wireless pc on the network and I cannot ping 192.168.200.30 pr 192.168.200.31
I must be missing something