Hurray, I figured out what was wrong in that,
those commands were okay, but i forget iptables,
I reconfigured it and It worked
, now my only problem is how to save these things to some file so that linux will remember those
.
edit:
iptables commands that i run:
iptables -F INPUT
iptables -F FORWARD
iptables -F OUTPUT
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -A POSTROUTING -t nat -o $EXT_IF -s $LAN_RANGE -j MASQUERADE
iptables -A FORWARD -i $LAN_IF -s $LAN_RANGE -j ACCEPT
I know thats not secure but it works :P,