iptables in a difficult configuration
here's my configuration
how would I go about setting up iptables?
tried different things but no avail.
still no internet on the pc, even though i can ping router2 on the linuxbox.
/sbin/iptables -t nat -A POSTROUTING -o ath0 -j MASQUERADE
/sbin/iptables -A FORWARD -i ath0 -o eth0 -m state --state RELATED,ESTABLISHED -j ACCEPT
/sbin/iptables -A FORWARD -i eth0 -o ath0 -j ACCEPT
where ath0 is between router1 and linuxbox and
eth0 is between linuxbox and router2
thanks in advance