ok, i tried that and it doesn't work, these are the exact commands i used (i'm on slack, so i used the startup script to do the ip_forward)
Code:
iptables -A FORWARD -i ath0 -o eth0 -j ACCEPT
iptables -A FORWARD -i eth0 -o ath0 -m state --state ESTABLISHED,RELATED -j ACCEPT
ath0 is my wifi in AP mode, eth0 is my wired connection connected to my router/firewall, ath0 has the ip 192.168.2.1, eth0 has 192.168.1.25, my router/firewall is 192.168.1.1
my laptop is on wifi has the ip 192.168.2.2 with the router set to 192.168.2.1, after doing the ip_forward stuff i can ping 192.168.1.25(eth0) and 192.168.2.1(ath0) but i can't ping 192.168.1.1(router/firewall)
i've been looking into bridging with brctl but so far i have had little success