
外部の MySQL ホスト (11.22.33.44) に接続しようとしていますが、接続がタイムアウトし続けます。接続元のサーバー (55.66.77.88) は稼働しており、インターネットに接続されています。
サーバー 55.66.77.88 の iptables 設定は現在次のとおりです:
# 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
使用してみましたtelnet 11.22.33.44 3306
が、これもタイムアウトになります。
サーバー 11.22.33.44 の Firewalld 設定:
# 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
何を見落としているのでしょうか? ラップトップから 11.22.33.44 への Telnet 接続を確立できます。