You are here
Caleb - Wed, 2015/11/11 - 22:01
Hi I recently installed tkl LAMP on AWS. Webmin and phpmyadmin were working well until I installed and uninstalled the iredmail mail server. I think it reset the default tkl iptables configuration. Could someone please post the default tkl iptables or show me how to correct it? Here's what I have now.
root@lamp ~# iptables --list Chain INPUT (policy DROP) target prot opt source destination ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED ACCEPT all -- anywhere anywhere ACCEPT icmp -- anywhere anywhere icmp echo-request ACCEPT tcp -- anywhere anywhere tcp dpt:ssh ACCEPT tcp -- anywhere anywhere tcp dpt:http ACCEPT tcp -- anywhere anywhere tcp dpt:https ACCEPT tcp -- anywhere anywhere tcp dpt:smtp ACCEPT tcp -- anywhere anywhere tcp dpt:submission ACCEPT tcp -- anywhere anywhere tcp dpt:pop3 ACCEPT tcp -- anywhere anywhere tcp dpt:pop3s ACCEPT tcp -- anywhere anywhere tcp dpt:imap2 ACCEPT tcp -- anywhere anywhere tcp dpt:imaps ACCEPT tcp -- anywhere anywhere tcp spt:12322 ACCEPT tcp -- anywhere anywhere tcp spt:12321 Chain FORWARD (policy DROP) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination
Forum:
By default IPTables are configured but not enabled
Having said that though I would not expect installation of any software (software like that anyway) to mess with IPTables and AFAIK it shoud not be able to adjust your Amazon security group settings. I would investigate consider other changes that may have been made. Also check that all services are running (webmin, apache).
My first guess on phpMyAdmin is that something in Apache config was altered; although that wouldn't/shouldn't affect Webmin...
Solved
Ok, I found a generic iptables configuration online and made small modifications for webmin and phpmyadmin. I am posting it here for futre reference :-D
Add new comment