mouseanony Veteran 105 Posts user info edit post |
Hullo. I can connect to my mysqld running on fedora locally. However, if I telnet to port 3306 from another machine (directly connected via a x-over cable), or port scan that port, it doesn't connect. Looks like "skip-networking" is off in the mysqld config, so I'm guessing it's an iptables configuration issue, but I'm not an iptables guru...yet. Any guidance?
Thanks.
snipped from "netstat -atn" tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN
[root@localhost ~]# iptables -L Chain FORWARD (policy ACCEPT) target prot opt source destination RH-Firewall-1-INPUT all -- anywhere anywhere
Chain INPUT (policy ACCEPT) target prot opt source destination RH-Firewall-1-INPUT all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT) target prot opt source destination
Chain RH-Firewall-1-INPUT (2 references) target prot opt source destination ACCEPT all -- anywhere anywhere ACCEPT icmp -- anywhere anywhere icmp any ACCEPT ipv6-crypt-- anywhere anywhere ACCEPT ipv6-auth-- anywhere anywhere ACCEPT udp -- anywhere 224.0.0.251 udp dpt:5353 ACCEPT udp -- anywhere anywhere udp dpt:ipp ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:http ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ftp ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:smtp REJECT all -- anywhere anywhere reject-with icmp-host-prohibited [root@localhost ~]# 5/6/2006 7:53:55 PM |