Olá Lorena!! Apenas para confirmar, vc está tentando publicar os acessos ssh para a internet, correto?
Regards / Atenciosamente, --- Thiago Vitorino -----Original Message----- From: ubuntu-br-boun...@lists.ubuntu.com [mailto:ubuntu-br-boun...@lists.ubuntu.com] On Behalf Of lift lorena gramelik ferraz Sent: terça-feira, 28 de junho de 2011 13:51 To: ubuntu-br@lists.ubuntu.com Subject: Re: [Ubuntu-BR] Redirecionamento de porta Olá bom dia, Thiago valeu a dica, mas ainda tentei e não deu certo o que posso ter feito de errado? no init.d do roteador coloquei: iptables -t nat -A PREROUTING -d ip 192.168.1.101 -p tcp --dport 2222 -j DNAT --to-destination 10.0.3.2 e iptables -t nat -A PREROUTING -d ip 192.168.1.101 -p tcp --dport 2221 -j DNAT --to-destination 10.0.3.3 no /etc/ssh/sshd_config modifiquei a linha Port para as novas portas a serem escutadas é por aí ? Desde já, muito obrigada! > From: thiago.vitor...@brasmarcis.com > To: ubuntu-br@lists.ubuntu.com > Date: Tue, 28 Jun 2011 14:29:38 +0200 > Subject: Re: [Ubuntu-BR] Redirecionamento de porta > > Olá Loreena!! > > No seu caso, o mais fácil é alterar a porta SSH em ambos PCs. Exemplo: > > PC 1: 192.168.1.100 - SSH Porta 2220 > PC 2: 192.168.1.101 - SSH Porta 2221 > > E fazer as devidas configurações de Port Forwarding no router. It's easy ;) > > Dica de Segurança: Alguns idiotas que tem tempo pra tentar ficar ferrando a > vida dos outros tentam lançar ataques DoS direto na porta 22. Então, utilize > portas altas para evitar esses ataques. ;) - As portas do exemplo são as que > eu geralmente utilizo em meus projetos. > > > > Regards / Atenciosamente, > --- > Thiago Vitorino > > -----Original Message----- > From: ubuntu-br-boun...@lists.ubuntu.com > [mailto:ubuntu-br-boun...@lists.ubuntu.com] On Behalf Of lift lorena gramelik > ferraz > Sent: terça-feira, 28 de junho de 2011 01:38 > To: ubuntu-br@lists.ubuntu.com > Subject: Re: [Ubuntu-BR] Redirecionamento de porta > > > > > Olá, > Bom dia, > > Minha topologia tem um roteador que conecta a internet a uma rede interna com > dois pc´s. > Em ambos roda SSH, > Estou me confundindo no direcionamento de portas que devo fazer de forma que > ambos > possam ter o SSH funcionando. > > Desde já agradeço! > > Loreena > -- > Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece > > Lista de discussão Ubuntu Brasil > Histórico, descadastramento e outras opções: > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br > > The information contained in this message is privileged and intended only for > the recipients named. If the reader is not a representative of the intended > recipient, any review, dissemination or copying of this message or the > information it contains is prohibited. If you have received this message in > error, please immediately notify the sender, and delete the original message > and attachments. > > Please consider the environment before printing this email. > > > -- > Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece > > Lista de discussão Ubuntu Brasil > Histórico, descadastramento e outras opções: > https://lists.ubuntu.com/mailman/listinfo/ubuntu-br -- Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece Lista de discussão Ubuntu Brasil Histórico, descadastramento e outras opções: https://lists.ubuntu.com/mailman/listinfo/ubuntu-br The information contained in this message is privileged and intended only for the recipients named. If the reader is not a representative of the intended recipient, any review, dissemination or copying of this message or the information it contains is prohibited. If you have received this message in error, please immediately notify the sender, and delete the original message and attachments. Please consider the environment before printing this email. -- Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece Lista de discussão Ubuntu Brasil Histórico, descadastramento e outras opções: https://lists.ubuntu.com/mailman/listinfo/ubuntu-br