Liberar a porta 3306 do MYsql

1. Liberar a porta 3306 do MYsql

Marcos Ferreira
marcosferreira13

(usa Outra)

Enviado em 28/01/2015 - 15:34h

Boa tarde galera, vi alguns topicos aqui sobre o assunto, mas testei todos e näo consegui resolver o problema ainda.
Gostaria de liberar a porta 3306 do meu servidor linux (192.168.0.1) que nao tem o mysql instado para meu sevidor windows (192.168.0.2) que tem o mysql instalado, pelo windows eu ja fiz a liberacao, porem pelo linux nao consigo, alguem pode me ajudar:?

Obrigado.


  


2. Re: Liberar a porta 3306 do MYsql

Mackristofer
macks

(usa Outra)

Enviado em 28/01/2015 - 19:00h

Cara vc quer redirecionar a conexão.....se for isso pode tentar.

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 3306 -j DNAT --to 192.168.0.2
iptables -t nat -A POSTROUTING -d 192.168.0.2 -j SNAT --to 192.168.0.1

e não esquece de habilitar o ip_forward



3. Re: Liberar a porta 3306 do MYsql

Carlos APC
Carlos_Cunha

(usa Linux Mint)

Enviado em 28/01/2015 - 19:40h

marcosferreira13 escreveu:

Boa tarde galera, vi alguns topicos aqui sobre o assunto, mas testei todos e näo consegui resolver o problema ainda.
Gostaria de liberar a porta 3306 do meu servidor linux (192.168.0.1) que nao tem o mysql instado para meu sevidor windows (192.168.0.2) que tem o mysql instalado, pelo windows eu ja fiz a liberacao, porem pelo linux nao consigo, alguem pode me ajudar:?

Obrigado.


Acredito que vc somente liberou acesso sendo localhost certo??




#-------------------------------------------------------------------------------------#

"Linux é algo que me fez ter Gosto pela Informática, se tornou um Vicio" - Carlos A. P. Cunha


4. Liberar a porta 3306 do MYsql

Marcos Ferreira
marcosferreira13

(usa Outra)

Enviado em 29/01/2015 - 08:53h

Fiz o seguente procedimento abaixo: (Mas ainda não funciona, tem algo mais a fazer? )

echo 1 > /proc/sys/net/ipv4/ip_forward

iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 3306 -j DNAT --to 192.168.0.2
iptables -t nat -A POSTROUTING -d 192.168.0.2 -j SNAT --to 192.168.0.1


5. Re: Liberar a porta 3306 do MYsql

Mackristofer
macks

(usa Outra)

Enviado em 29/01/2015 - 12:38h

Cara nos de mais informação sobre a sua estrutura, o mysql esta rodando normalmente na maquina 2...vc ja tentou conexão direta......cara como estão as politicas padrões do seu iptables???

iptables -L



6. Liberar a porta 3306 do MYsql

Marcos Ferreira
marcosferreira13

(usa Outra)

Enviado em 29/01/2015 - 14:55h

sim o mysql esta funcionando perfeitamente.


linux-0azi:~ # iptables -L


Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT gre -- anywhere anywhere
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain FORWARD (policy ACCEPT)
target prot opt source destination
Controle-de-Acesso all -- anywhere anywhere

Chain OUTPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp spt:pptp
ACCEPT gre -- anywhere anywhere

Chain Controle-de-Acesso (1 references)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
ACCEPT all -- anywhere anywhere
REJECT tcp -- anywhere anywhere multiport ports sun rpc,ipp,mysql reject-with icmp-host-prohibited
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT icmp -- anywhere anywhere icmp any
ACCEPT gre -- anywhere anywhere
ACCEPT esp -- anywhere anywhere
ACCEPT ah -- anywhere anywhere
ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
ACCEPT all -- anywhere anywhere state RELATED,ESTAB LISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:p ptp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:f cp-addr-srvr1
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:f cp-addr-srvr2
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:f cp-srvr-inst1
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:5 801
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:5 901
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:i rdmi
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:s sh
REJECT all -- anywhere anywhere reject-with icmp-ho st-prohibited
linux-0azi:~ # Chain INPUT (policy ACCEPT)
-bash: syntax error near unexpected token `('
ACCEPT gre -- anywhere anywhere
linux-0azi:~ # target prot opt source destination
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp spt:pptp
ACCEPT gre -- anywhere anywhere

-bash: target: command not found
Chain Controle-de-Acesso (1 references)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
linux-0azi:~ # ACCEPT gre -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTAB LISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:p ptp
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:f cp-addr-srvr1
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:f cp-addr-srvr2
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:f cp-srvr-inst1
-bash: ACCEPT: command not found
linux-0azi:~ # RH-Firewall-1-INPUT all -- anywhere anywhere
-bash: RH-Firewall-1-INPUT: command not found
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:5 801
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:5 901
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:i rdmi
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:s sh
REJECT all -- anywhere anywhere reject-with icmp-ho st-prohibited
linux-0azi:~ #
linux-0azi:~ # Chain FORWARD (policy ACCEPT)
-bash: syntax error near unexpected token `('
linux-0azi:~ # target prot opt source destination
-bash: target: command not found
linux-0azi:~ # Controle-de-Acesso all -- anywhere anywhere
-bash: Controle-de-Acesso: command not found
linux-0azi:~ #
linux-0azi:~ # Chain OUTPUT (policy ACCEPT)
-bash: syntax error near unexpected token `('
linux-0azi:~ # target prot opt source destination
-bash: target: command not found
linux-0azi:~ # ACCEPT tcp -- anywhere anywhere tcp spt:pptp
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT gre -- anywhere anywhere
-bash: ACCEPT: command not found
linux-0azi:~ #
linux-0azi:~ # Chain Controle-de-Acesso (1 references)
-bash: syntax error near unexpected token `('
linux-0azi:~ # target prot opt source destination
-bash: target: command not found
linux-0azi:~ # RH-Firewall-1-INPUT all -- anywhere anywhere
-bash: RH-Firewall-1-INPUT: command not found
linux-0azi:~ #
linux-0azi:~ # Chain RH-Firewall-1-INPUT (2 references)
-bash: syntax error near unexpected token `('
linux-0azi:~ # target prot opt source destination
-bash: target: command not found
linux-0azi:~ # ACCEPT all -- anywhere anywhere
-bash: ACCEPT: command not found
linux-0azi:~ # REJECT tcp -- anywhere anywhere multiport ports sun rpc,ipp,mysql reject-with icmp-host-prohibited
-bash: REJECT: command not found
linux-0azi:~ # ACCEPT all -- anywhere anywhere
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT all -- anywhere anywhere
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT icmp -- anywhere anywhere icmp any
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT gre -- anywhere anywhere
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT esp -- anywhere anywhere
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT ah -- anywhere anywhere
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT all -- anywhere anywhere state RELATED,ESTAB LISHED
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:p ptp
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:f cp-addr-srvr1
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:f cp-addr-srvr2
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:f cp-srvr-inst1
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:5 801
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:5 901
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:i rdmi
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:s sh
-bash: ACCEPT: command not found
linux-0azi:~ # REJECT all -- anywhere anywhere reject-with icmp-ho st-prohibited
-bash: REJECT: command not found
linux-0azi:~ # Chain INPUT (policy ACCEPT)
Chain RH-Firewall-1-INPUT (2 re-bash: syntax error near unexpected token `('
ferences)
target prot opt source destination
ACCEPT all -- anywhere anywhere
linux-0azi:~ # target prot opt source destination
target prot opt source destination
ACCEPT tcp -- anywhere anywhere tcp spt:pptp
ACCEPT gre -- anywhere anywhere

-bash: target: command not found
Chain Controle-de-Acesso (1 references)
target prot opt source destination
RH-Firewall-1-INPUT all -- anywhere anywhere

Chain RH-Firewall-1-INPUT (2 references)
target prot opt source destination
linux-0azi:~ # ACCEPT gre -- anywhere anywhere
ACCEPT all -- anywhere anywhere state RELATED,ESTAB LISHED
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:p ptp
ACCEPT tcp -bash: target: command not found
linux-0azi:~ # ACCEPT gre -- anywhere anywhere
-- anywhere anywhere state
-bash: ACCEPT: command not found
linux-0azi:~ # RH-Firewall-1-INPUT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere
-bash: RH-Firewall-1-INPUT: command not found
linux-0azi:~ #

linux-0azi:~ # Chain FORWARD (policy ACCEPT)
-bash: syntax error near unexpected token `('
-bash: ACCEPT: command not fo
linux-0azi:~ # target prot opt source destination
linux-0azi:~ # RH-Firewall-1-INPUT all -- anywher
-bash: target: command not found
linux-0azi:~ # Controle-de-Acesso all -- anywhere anywhere
-bash: RH-Firewall-1-INPUT: command not found
ACCEPT t-bash: Controle-de-Acesso: command not found
linux-0azi:~ #
c
linux-0azi:~ # Chain OUTPUT (policy ACCEPT)
-bash: syntax error near unexpected token `('
ACCEPT tcp -- anywhere
linux-0azi:~ # target prot opt source destination
ACCEPT tcp -- anywhere anywhere
-bash: target: command not found
linux-0azi:~ # ACCEPT tcp -- anywhere anywhere tcp spt:pptp
ACCEPT tcp -- anywhere anywhere state NEW tc
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT gre -- anywhere anywhere
REJECT all -- anywhere anywhere
-bash: ACCEPT: command not found
linux-0azi:~ #

linux-0azi:~ # Chain Controle-de-Acesso (1 references)
linux-0azi:~ # Cha-bash: syntax error near unexpected token `('i
n FORWARD (policy AC
linux-0azi:~ # target prot opt source destination
-bash: syntax error near unexpected token `('
linux--bash: target: command not found
linux-0azi:~ # RH-Firewall-1-INPUT all -- anywhere anywhere
0azi:~ # target prot opt source destinatio
-bash: RH-Firewall-1-INPUT: command not found
linux-0azi:~ #

linux-0azi:~ # Chain RH-Firewall-1-INPUT (2 references)
-bash: syntax error near unexpected token `('
linux-0azi:~ # Controle-de-Acesso all
linux-0azi:~ # target prot opt source destination
-bash: Controle-de-Acesso: command not found
linux-0-bash: target: command not found
linux-0azi:~ # ACCEPT all -- anywhere anywhere
azi:~ #
linux-0azi:~ # Chain OUTPUT (policy ACCEPT-bash: ACCEPT: command not found
linux-0azi:~ # REJECT tcp -- anywhere anywhere multiport ports sun rpc,ipp,mysql reject-with icmp-host-prohibited
)
-bash: syntax error near unexpected token `('
linux-0azi:~ # target prot opt source destination
-bash: target: command not found
linux-0azi:~ # ACCEPT tcp -- anywhere -bash: REJECT: command not found
linux-0azi:~ # ACCEPT all -- anywhere anywhere
anywhere tcp spt:pptp
-bash: ACCEPT: co-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT all -- anywhere anywhere
mmand not found
linux-0azi:~ # ACCEPT gre -- -bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT icmp -- anywhere anywhere icmp any
anywhere anywhere
-bash: ACCEPT: command not found
linux--bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT gre -- anywhere anywhere
0azi:~ #
linux-0azi:~ # Chain Controle-de-Acesso (-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT esp -- anywhere anywhere
-bash: ACCEPT: command not found
1 references)
-bash: syntax error near unexpected linux-0azi:~ # ACCEPT ah -- anywhere anywhere
-bash: ACCEPT: command not found
token `('
linux-0azi:~ # target prot opt sourclinux-0azi:~ # ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
-bash: ACCEPT: command not found
e destination
-bash: target: command not found
linux-0azi:~ linux-0azi:~ # ACCEPT all -- anywhere anywhere state RELATED,ESTAB LISHED
-bash: ACCEPT: command not found
# RH-Firewall-1-INPUT all -- anywhere anywhere
-bash: RH-Firewall-1-INPUT: command not found
linux-0azi:~ #
linux-0azi:~ # Chain RH-Firewall-1-INPUT (linux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:p ptp
-bash: ACCEPT: command not found
2 references)
-bash: syntax error near unexpected token `('
linux-0azi:~ # target prot opt source destination
-bash: target: command not found
llinux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:f cp-addr-srvr1
-bash: ACCEPT: command not found
inux-0azi:~ # ACCEPT all -- anywhere anywhere
-bash: ACCEPT: command not found
linux-0azi:~ # REJECT tcp -- anywhere anywhere linux-0azi:~ # ACCEPT tcp -- anywhere anywhere state N cp-addr-srvr2
-bash: ACCEPT: command not found
multiport ports sun rpc,ipp,mysql reject-with icmp-host-prohibited
-bash: REJECT: command not linux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:f cp-srvr-inst1
-bash: ACCEPT: command not found
found
linux-0azi:~ # ACCEPT all -- anywhere anywhere
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT all -- anywhere anywhere
-balinux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:5 801
-bash: ACCEPT: command not found
sh: ACCEPT: command not found
linux-0azi:~ # ACCEPT icmp -- anywhere anywhere icmp any
-bash: ACCEPT: command not found
linux-0azi:~ #linux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:5 901
-bash: ACCEPT: command not found
ACCEPT gre -- anywhere anywhere
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT esp -- anywhere anywhere
-bash: ACCEPTlinux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:i rdmi
-bash: ACCEPT: command not found
: command not found
linux-0azi:~ # ACCEPT ah -- anywhere anywhere
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT udp -- anywhere linux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:s sh
-bash: ACCEPT: command not found
224.0.0.251 udp dpt:mdns
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT all -- anywhere anywhere state RElinux-0azi:~ # REJECT all -- anywhere anywhere st-prohibited
-bash: REJECT: command not found
LATED,ESTAB LISHED
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT tcp -- anywherelinux-0azi:~ # linux-0azi:~ # Chain INPUT (policy ACCEPT)
-bash: linux-0azi:~: command not found
anywhere state NEW
linux-0azi:~ # -bash: syntax error near unexpected token `('
> ACCEPT gre -- anywhere anywhere
-bash: ACCEPT: command not found
linux-0azi:~ # ACCEPT tcp -- anywhere anywhe> linux-0azi:~ # target prot opt source destination
re state NEW tcp dpt:f
> target prot opt source destination
-bash: ACCEPT: command not found
linux-0azi:~ # ACCE> ACCEPT tcp -- anywhere anywhere tcp spt:pptp
PT tcp -- anywhere anywhere state NEW tcp dpt
> ACCEPT gre -- anywhere anywhere
-bash: ACCEPT: command not found
linux-0azi:~ # A>
C
> -bash: target: command not found
-bash: ACCEPT: command not found
> Chain Controle-de-Acesso (1 references)
linux-0azi:~ # ACCEPT tcp -- anyw
> target prot opt source destination
-bash: ACCEPT: command not found
linux-0azi:~ # ACCE> RH-Firewall-1-INPUT all -- anywhere anywhere
PT tcp -- anywhere anywhere sta
>

> Chain RH-Firewall-1-INPUT (2 references)
linux-0azi:~ # ACCEPT tcp -- anywh
> target prot opt source destination
-bash: ACCEPT: command not found
linux-0azi:~ # ACCE> linux-0azi:~ # ACCEPT gre -- anywhere anywhere
PT tcp -- anywhere anywhere state NE
> ACCEPT all -- anywhere anywhere state RELATED,ESTAB LISHED
-bash: ACCEPT: command not found
linux-0azi:~ # REJECT all -- anywhere anywhere reject-with icmp-ho > ACCEPT tcp -- anywh ptp anywhere state NEW tcp dpt:p
st-prohibited
-bash: REJECT: command not found
linux-> ACCEPT tcp -- anywhere anywhere state
> ACCEPT tcp -- anywhere anywhere
>
> -bash: ACCEPT: command not fo
> linux-0azi:~ # RH-Firewall-1-INPUT all -- anywher
> -bash: RH-Firewall-1-INPUT: command not found
> ACCEPT tc
> ACCEPT tcp -- anywhere
> ACCEPT tcp -- anywhere anywhere
> ACCEPT tcp -- anywhere anywhere state NEW tc
> REJECT all -- anywhere anywhere
>
> linux-0azi:~ # Chain FORWARD (policy AC
> -bash: syntax error near unexpected token `('
-bash: syntax error near unexpected token `('
linux-0azi:~ # linux-0azi:~ # target prot opt source destinatio
-bash: linux-0azi:~: command not found
linux-0azi:~ #
linux-0azi:~ # linux-0azi:~ # Controle-de-Acesso all
-bash: linux-0azi:~: command not found
linux-0azi:~ # -bash: Controle-de-Acesso: command not found
-bash: -bash:: command not found
linux-0azi:~ # linux-0azi:~ #
-bash: linux-0azi:~: command not found
linux-0azi:~ # linux-0azi:~ # Chain OUTPUT (policy ACCEPT)
-bash: linux-0azi:~: command not found
linux-0azi:~ # -bash: syntax error near unexpected token `('
> linux-0azi:~ # target prot opt source destination
> -bash: target: command not found
> linux-0azi:~ # ACCEPT tcp -- anywhere anywhere tcp spt:pptp
> -bash: ACCEPT: command not found
> linux-0azi:~ # ACCEPT gre -- anywhere anywhere
> -bash: ACCEPT: command not found
> linux-0azi:~ #
> linux-0azi:~ # Chain Controle-de-Acesso (1 references)
> -bash: syntax error near unexpected token `('
-bash: syntax error near unexpected token `('
linux-0azi:~ # linux-0azi:~ # target prot opt source destination
-bash: linux-0azi:~: command not found
linux-0azi:~ # -bash: target: command not found
-bash: -bash:: command not found
linux-0azi:~ # linux-0azi:~ # RH-Firewall-1-INPUT all -- anywhere anywhere
-bash: linux-0azi:~: command not found
linux-0azi:~ # -bash: RH-Firewall-1-INPUT: command not found
-bash: -bash:: command not found
linux-0azi:~ # linux-0azi:~ #
-bash: linux-0azi:~: command not found
linux-0azi:~ # linux-0azi:~ # Chain RH-Firewall-1-INPUT (2 references)
-bash: linux-0azi:~: command not found
linux-0azi:~ # -bash: syntax error near unexpected token `('
> linux-0azi:~ # target prot opt source destination
> -bash: target: command not found
> linux-0azi:~ # ACCEPT all -- anywhere anywhere
> -bash: ACCEPT: command not found
> linux-0azi:~ # REJECT tcp -- anywhere anywhere multiport ports sun rpc,ipp,mysql reject-with icmp-host-prohibited
> -bash: REJECT: command not found
> linux-0azi:~ # ACCEPT all -- anywhere anywhere
> -bash: ACCEPT: command not found
> linux-0azi:~ # ACCEPT all -- anywhere anywhere
> -bash: ACCEPT: command not found
> linux-0azi:~ # ACCEPT icmp -- anywhere anywhere icmp any
> -bash: ACCEPT: command not found
> linux-0azi:~ # ACCEPT gre -- anywhere anywhere
> -bash: ACCEPT: command not found
> linux-0azi:~ # ACCEPT esp -- anywhere anywhere
> -bash: ACCEPT: command not found
> linux-0azi:~ # ACCEPT ah -- anywhere anywhere
> -bash: ACCEPT: command not found
> linux-0azi:~ # ACCEPT udp -- anywhere 224.0.0.251 udp dpt:mdns
> -bash: ACCEPT: command not found
> linux-0azi:~ # ACCEPT all -- anywhere anywhere state RELATED,ESTAB LISHED
> -bash: ACCEPT: command not found
> linux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NEW
> -bash: ACCEPT: command not found
> linux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:f
> -bash: ACCEPT: command not found
> linux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NEW tcp dpt
> -bash: ACCEPT: command not found
> linux-0azi:~ # AC
> -bash: ACCEPT: command not found
> linux-0azi:~ # ACCEPT tcp -- anyw
> -bash: ACCEPT: command not found
> linux-0azi:~ # ACCEPT tcp -- anywhere anywhere sta
>
> linux-0azi:~ # ACCEPT tcp -- anywh
> -bash: ACCEPT: command not found
> linux-0azi:~ # ACCEPT tcp -- anywhere anywhere state NE
> -bash: ACCEPT: command not found
> linux-0azi:~ # REJECT all -- anywhere anywhere reject-with icmp-ho st-prohibited
> -bash: REJECT: command not found
> linux-
linux-0azi:~ #
l



7. Re: Liberar a porta 3306 do MYsql

Carlos APC
Carlos_Cunha

(usa Linux Mint)

Enviado em 29/01/2015 - 21:52h

Qual usuário vc esta tentando usar?
ele tem liberação para acesso ao banco(liberação interna mysql) ?

Poste aqui a tentativa de acesso eo erro

#-------------------------------------------------------------------------------------#

"Linux é algo que me fez ter Gosto pela Informática, se tornou um Vicio" - Carlos A. P. Cunha






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts