-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Incomincio ad avere dei complessi di inferiorità... Nonostante su tutti gli howto che ho trovato la fanno semplicissima, non riesco a impostare il NAT in modo da condividere la connessione a internet. Allora vediamo di decrivere la situazione: eth0 192.168.0.1 Collegata alla lan eth1 10.0.0.1 Collegata al modem ethernet (10.0.0.138) Il modem si connette a internet tramite il protocollo pptp. Io per fare la condivisione ho dat questo comando: $iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE Dopodichè ho dato sui client: $route add default gw 192.168.0.1 e ho messo all'interno di resolv.conf: $nameserver 192.168.0.1 e successivamente i DNS del mio provider. Nonostante tutto questo non funziona niente... La connessione non viene condivisa. Se provo a pingare rimane li e non fa niente. Per completezza vi allego anche il mio ifconfig: ########################################## eth0 Link encap:Ethernet HWaddr 00:E0:4C:55:37:B9 inet addr:192.168.0.1 Bcast:192.168.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:281458 errors:0 dropped:0 overruns:0 frame:0 TX packets:547618 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:17849306 (17.0 MiB) TX bytes:811326699 (773.7 MiB) Interrupt:5 Base address:0xb000 eth1 Link encap:Ethernet HWaddr 00:40:F4:5C:25:7B inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2038 errors:0 dropped:0 overruns:0 frame:0 TX packets:1907 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:100 RX bytes:321037 (313.5 KiB) TX bytes:202164 (197.4 KiB) Interrupt:10 Base address:0xd000 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:136 errors:0 dropped:0 overruns:0 frame:0 TX packets:136 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:8768 (8.5 KiB) TX bytes:8768 (8.5 KiB) ppp0 Link encap:Point-to-Point Protocol inet addr:217.133.215.29 P-t-P:195.130.232.106 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1 RX packets:1333 errors:0 dropped:0 overruns:0 frame:0 TX packets:1352 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:207973 (203.0 KiB) TX bytes:89266 (87.1 KiB) ####################################### Se ci fosse qualche buon anima compassionevole che mi sapesse dire cosa stò sbagliando mi farebbe un grosso favore... Stò impazzendo per far funzionare sta cosa. Ciao un grazie anticipato e la promessa di una birra a chiunque mi sappia aiutare. - -- Nivox Linux Registered User #290686 Powered by: Debian Sid JABBER: nivox@xxxxxxxxxxxxxxx GPG Key ID: 0xC6A50D8D (info: www.gnupg.org) GPG Keyserver: http://www.keyserver.net La donna è un errata implementazione di un architettura corretta (Diaolin) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/0j2cfhOftsalDY0RAu9uAJsE2TzLN8qeE/ZbwZw8k4uIe4QytACeINhm O/+UZuUmLnAMtyjWIemutLo= =BaBb -----END PGP SIGNATURE----- -- Per iscriversi (o disiscriversi), basta spedire un messaggio con OGGETTO "subscribe" (o "unsubscribe") a mailto:linuxtrent-request@xxxxxxxxxxxxx