Artur por favor, vc pode postar a regra toda .
QUICO CARUSO o seu personal_coroa ---------------------------------------- > Date: Sun, 9 Mar 2008 23:39:52 -0300 > From: [EMAIL PROTECTED] > To: [email protected] > Subject: Re: [Ubuntu-BR] direcionamento pelo iptables > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Cleyton Santana de Sousa wrote: >> On Sat, Mar 8, 2008 at 9:20 PM, Andson Bruno Nabo Santos >> wrote: >> >>> modem->roteador -> Servidor ubuntu -> switch -> servidor $$indows >>> >>> PEGUNTA: Como posso fazer pra acessar o vnc deste servidor?? >> >> Caro Anderson, >> veja se com esta regra lhe atende. Dê uma olhada no focalinux. tem bastante >> coisa sobre NAT lá. >> >> # iptables -t nat -A inet-redir -d IP_EXTERNO -p tcp --dport 3389 -j DNAT >> --to-destination IP_INTERNO >> # iptables -t nat -A inet-redir -d IP_EXTERNO -p icmp -j ACCEPT >> # iptables -t nat -A inet-redir -d IP_EXTERNO -j DROP > > Essas regras não deveriam estar na chain "PREROUTING"? > Muda pouca coisa da regra acima, mas eu usaria da maneira abaixo: > > iptables -t nat -A PREROUTING -d -p tcp --dport 3389 -j > DNAT --to > > Eu costumo definir a política default da CHAIN como DROP, portanto eu > nesse caso acredito que apenas a regra acima bastaria. > > - -- > Atenciosamente, > > Arthur Furlan > [EMAIL PROTECTED] > >> >> Voce vai acessar via TS na porta 3389. >> sds, > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFH1J94HiIxAB175NwRAn1sAJ9uMR1OcSH2GIjMxH3HJA2976uoRQCgxLBL > ib6r2V9A2NI5EZe3MAMURoU= > =yMNS > -----END PGP SIGNATURE----- > > -- > Interessado em aprender mais sobre o Ubuntu em português? > http://wiki.ubuntu-br.org/ComeceAqui - > ubuntu-br mailing list > [email protected] > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br _________________________________________________________________ Receba GRÁTIS as mensagens do Messenger no seu celular quando você estiver offline. Conheça o MSN Mobile! http://mobile.live.com/signup/signup2.aspx?lc=pt-br -- Interessado em aprender mais sobre o Ubuntu em português? http://wiki.ubuntu-br.org/ComeceAqui - ubuntu-br mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-br

