Hey there
I've applied some rules on my iptables but after that, no website is opening anymore.
This is my iptables configuration:
Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:2242 /* allow SSH: ssh */
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 /* allow input from the loop-back adapter */
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 /* allow input from the loop-back adapter */
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:53 /* allow DNS: domain */
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25 /* allow SMTP: Mail */
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:587 /* allow SMTP: Mail */
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:465 /* allow SSMTP: Mail */
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:143 /* allow IMAP: Mail */
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:993 /* allow IMAP: Mail */
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:995 /* allow SPOP3: Mail */
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:110 /* allow POP3: Mail */
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:21 /* allow FTP: ftp */
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:21 /* allow FTP: ftp */
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:20 /* allow FTP: ftp-data */
ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:20 /* allow FTP: ftp-data */
ACCEPT tcp -- 127.0.0.1 127.0.0.1 tcp dpt:3306 /* Limit MariaDB/MySQL to localhost: mysql */
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80 /* allow HTTP (webserver) */
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443 /* allow HTTPS (webserver) */
ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:8898 /* allow aapanel */
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED /* allow already established connections */
Chain FORWARD (policy DROP)
target prot opt source destination
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
any suggestion?