[Ubuntu-BR] Redirecionar iptables

Mychael Netto schmychael em gmail.com
Segunda Fevereiro 22 15:19:02 UTC 2010


Retificando


> iptables -t nat -A PREROUTING -p tcp -d <ip do Servidor de internet>
> --dport <porta onde será realizada a conexão> -j DNAT --to-destination <ip
> do servidor MySql:porta MySql>
>
>
> iptables -t filter -A FORWARD -p tcp --dport <porta de conexão> -j ACCEPT
>
> a tabela nat e filter deve ser escrito em letras minúsculas.

-- 
> Mychael Netto
>




-- 
Mychael Netto



More information about the ubuntu-br mailing list