
Ich versuche, eine Verbindung zu einem externen MySQL-Host (11.22.33.44) herzustellen, aber die Verbindung läuft immer wieder ab. Der Server, von dem aus ich mich verbinde (55.66.77.88), ist aktiv und verfügt über eine Internetverbindung.
Die iptables-Konfiguration des Servers 55.66.77.88 lautet derzeit:
# iptables -L -v
Chain INPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Chain OUTPUT (policy ACCEPT 0 packets, 0 bytes)
pkts bytes target prot opt in out source destination
Ich habe es mit versucht, telnet 11.22.33.44 3306
aber auch hier läuft die Zeit ab.
Firewalld-Konfiguration des Servers 11.22.33.44:
# firewall-cmd --list-all --zone=drop
drop (active)
target: DROP
icmp-block-inversion: no
interfaces: eth0
sources: 55.66.77.88/32
services: http https mountd nfs ntp rpc-bind smtp ssh
ports: 3306/tcp
protocols:
masquerade: no
forward-ports:
source-ports:
icmp-blocks:
rich rules:
rule family="ipv4" source address="55.66.77.88" service name="mysql" accept
Was übersehe ich? Ich kann von meinem Laptop aus eine Telnet-Verbindung zur 11.22.33.44 herstellen.