Rafael,
essa eh uma lista para usu�rios de Debian, por isso pode
ser que vc n�o consiga ajuda para o seu problema aqui. Encaminho o
endereco do site e da lista de usuarios de kurumin, para que vc possa
compartilhar a sua duvida com pessoas que convivem com o mesmo tipo de
sistema que vc (agradeca ao Boni pelos links. Retirei da assinatura
dos e-mails dele).
site : http://br.groups.yahoo.com/group/linuxkurumin/
Para entrar: [EMAIL PROTECTED]
Boa sorte!
Rafael de Albuquerque
On Sat, 19 Mar 2005 00:10:29 -0300, rafael <[EMAIL PROTECTED]> wrote:
> Oe galera da lista.
>
> Instalei o kurumin e aos poucos estou configurando as coisas por aqui,
> estou com problema no compartilhamento da internet para um micro com
> window$xp, configurei o samba e compartilha arquivos tranquilo, porem
> a internet est� dif�cil...
> Tentei com ip fixo, ou com servidor DHCP, executei varios comando com
> iptable e naum obtive sucesso.. ""#"$""%.
> Tenho um modem d-link500G router, na eth1 e a rede local com
> cross-over na eth0, ja inverti e naum adiantou tmb..
> Se alguem puder me ajudar...com uma dica ou link q solucione o problema..
>
> #ifconfig
>
> eth0 Encapsulamento do Link: Ethernet Endere�o de HW 00:11:5B:6B:2A:D7
> inet end.: 192.168.0.1 Bcast:192.168.0.255 Masc:255.0.0.0
> endere�o inet6: fe80::211:5bff:fe6b:2ad7/64 Escopo:Link
> UP BROADCASTRUNNING MULTICAST MTU:1500 M�trica:1
> RX packets:1475 errors:1 dropped:0 overruns:0 frame:1
> TX packets:3894 errors:0 dropped:2 overruns:0 carrier:0
> colis�es:0 txqueuelen:1000
> RX bytes:183213 (178.9 KiB) TX bytes:457566 (446.8 KiB)
> IRQ:7 Endere�o de E/S:0xe400
>
> eth1 Encapsulamento do Link: Ethernet Endere�o de HW 00:02:2A:D8:46:B1
> inet end.: 10.1.1.5 Bcast:10.255.255.255 Masc:255.0.0.0
> endere�o inet6: fe80::202:2aff:fed8:46b1/64 Escopo:Link
> UP BROADCASTRUNNING MULTICAST MTU:1500 M�trica:1
> RX packets:2900 errors:0 dropped:0 overruns:0 frame:0
> TX packets:3149 errors:0 dropped:0 overruns:0 carrier:0
> colis�es:0 txqueuelen:1000
> RX bytes:2378441 (2.2 MiB) TX bytes:445048 (434.6 KiB)
> IRQ:11 Endere�o de E/S:0xdc00
>
> #Router
>
> Destino Roteador M�scaraGen. Op��es M�trica Ref Uso Iface
> 192.0.0.0 * 255.0.0.0 U 0 0 0 eth0
> 10.0.0.0 * 255.0.0.0 U 0 0 0 eth1
> default 10.1.1.1 0.0.0.0 UG 0 0 0 eth1
> default 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
>
> #Ping em win$xp
>
> [EMAIL PROTECTED]:~$ ping 192.168.0.200
> PING 192.168.0.200 (192.168.0.200): 56 data bytes
> 64 bytes from 192.168.0.200: icmp_seq=0 ttl=128 time=0.4 ms
> 64 bytes from 192.168.0.200: icmp_seq=1 ttl=128 time=0.4 ms
> 64 bytes from 192.168.0.
> 200: icmp_seq=2 ttl=128 time=0.4 ms
> 64 bytes from 192.168.0.200: icmp_seq=3 ttl=128 time=0.3 ms
> 64 bytes from 192.168.0.200: icmp_seq=4 ttl=128 time=0.4 ms
>
> #iptable -L
>
> Chain INPUT (policy ACCEPT)
> target prot opt source destination
>
> Chain FORWARD (policy ACCEPT)
> target prot opt source destination
>
> Chain OUTPUT (policy ACCEPT)
> target prot opt source destination
>
> Chain VALID_CHECK (0 references)
> target prot opt source destination
>
> #iptables -t nat -L
>
> Chain PREROUTING (policy ACCEPT)
> target prot opt source destination
> DNAT tcp -- anywhere anywhere tcp
> dpts:0:afs3-fileserver to:192.168.0.2
> DNAT udp -- anywhere anywhere udp
> dpts:0:afs3-fileserver to:192.168.0.2
>
> Chain POSTROUTING (policy ACCEPT)
> target prot opt source destination
> MASQUERADE all -- anywhere anywhere
> MASQUERADE all -- anywhere anywhere
>
> Chain OUTPUT (policy ACCEPT)
> target prot opt source destination
>
> #/etc/resolv.conf
>
> nameserver 10.1.1.1
>
> =======================================
>
> Acima configura�ao, vou evitar muda-las at� receber noticias da lista!
> Abra�o!
>
>