Sziasztok!
Nem tudom megnyitni a 3306-os portot a mysql-nek.
iptables -A INPUT -t filter -p tcp --dport 3306 -j ACCEPT
Ez lefut, de semmi változás.
Tud valaki segíteni?
- 1204 megtekintés
Hozzászólások
iptables -L mit ir?
- A hozzászóláshoz be kell jelentkezni
xxxxx:/# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere
ACCEPT all -- anywhere anywhere
LOG all -- anywhere anywhere LOG level warning
LOG tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,PSH,ACK,URG/FIN,PSH,URG limit: avg 5/min burst 5 LOG level notice prefix `NMAP-XM'
DROP tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,PSH,ACK,URG/FIN,PSH,URG
ACCEPT tcp -- anywhere anywhere tcp dpt:mysql
Chain FORWARD (policy ACCEPT)
target prot opt source destination
LOG all -- anywhere anywhere LOG level warning
ACCEPT tcp -- anywhere anywhere tcp flags:FIN,SYN,RST,ACK/RST limit: avg 1/sec burst 5
ACCEPT tcp -- anywhere anywhere tcp flags:SYN,RST,ACK/SYN limit: avg 1/sec burst 5
ACCEPT icmp -- anywhere anywhere icmp echo-request limit: avg 1/sec burst 5
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
- A hozzászóláshoz be kell jelentkezni
Nem az iptables volt a hibás, hanem a my.cnf. Be kellett írni egy javítást:
bind-address = 0.0.0.0
Azért koszönöm a segítséget! :)
- A hozzászóláshoz be kell jelentkezni
Chain INPUT (policy ACCEPT) ...
- A hozzászóláshoz be kell jelentkezni