grazie per l'aiuto ma non ci sono riuscito !
ti incolla le mie interfacce
eth0 Link encap:Ethernet HWaddr 00:AA:00:AD:09:EB
inet addr:192.168.1.6 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:643 errors:0 dropped:0 overruns:0 frame:0
TX packets:18 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:86639 (84.6 Kb) TX bytes:2948 (2.8 Kb)
Interrupt:9 Base address:0x5000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:760 errors:0 dropped:0 overruns:0 frame:0
TX packets:760 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:89583 (87.4 Kb) TX bytes:89583 (87.4 Kb)
wlan0 Link encap:Ethernet HWaddr 00:11:50:35:AE:05
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6717 errors:0 dropped:0 overruns:0 frame:0
TX packets:7331 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:605208 (591.0 Kb) TX bytes:1016342 (992.5 Kb)
Interrupt:9 Memory:e9100000-e91020i00
io ho usato :
ifconfig eth0 192.168.1.6 netmask 255.255.255.0 up
modprobe ipt_MASQUERADE
echo 1 > /proc/sys/net/ipv4/ip_forward
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables -F
iptables -t nat -F
iptables -t mangle -F
pingando mi esce
ping 192.168.1.9
PING 192.168.1.9 (192.168.1.9) 56(84) bytes of data.
From 192.168.1.3 icmp_seq=1 Destination Host Unreachable