Here is the first
Code:
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 127.0.0.1:10024 0.0.0.0:* LISTEN 112 80089 31955/amavisd (mast
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 0 47531 8516/php-fpm.conf)
tcp 0 0 127.0.0.1:10025 0.0.0.0:* LISTEN 0 79963 31900/master
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 107 79254 31577/mysqld
tcp 0 0 0.0.0.0:110 0.0.0.0:* LISTEN 0 80815 32710/dovecot
tcp 0 0 0.0.0.0:143 0.0.0.0:* LISTEN 0 80827 32710/dovecot
tcp 0 0 0.0.0.0:8080 0.0.0.0:* LISTEN 0 388357 16672/apache2
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 388349 16672/apache2
tcp 0 0 0.0.0.0:8081 0.0.0.0:* LISTEN 0 388355 16672/apache2
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 103 81195 537/named
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 0 81140 509/pure-ftpd (SERV
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 379100 14554/sshd
tcp 0 0 127.0.0.1:953 0.0.0.0:* LISTEN 103 81200 537/named
tcp 0 0 0.0.0.0:25 0.0.0.0:* LISTEN 0 79867 31900/master
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 0 388352 16672/apache2
tcp 0 0 0.0.0.0:993 0.0.0.0:* LISTEN 0 80829 32710/dovecot
tcp 0 0 0.0.0.0:995 0.0.0.0:* LISTEN 0 80817 32710/dovecot
tcp 0 316 91.121.156.14:22 75.136.5.59:49555 ESTABLISHED 0 377940 14103/0
tcp 0 0 127.0.0.1:25 127.0.0.1:51773 TIME_WAIT 0 0 -
tcp6 0 0 :::110 :::* LISTEN 0 80816 32710/dovecot
tcp6 0 0 :::143 :::* LISTEN 0 80828 32710/dovecot
tcp6 0 0 ::1:53 :::* LISTEN 103 81197 537/named
tcp6 0 0 :::21 :::* LISTEN 0 81141 509/pure-ftpd (SERV
tcp6 0 0 :::22 :::* LISTEN 0 379103 14554/sshd
tcp6 0 0 ::1:953 :::* LISTEN 103 81201 537/named
tcp6 0 0 :::25 :::* LISTEN 0 79868 31900/master
tcp6 0 0 :::993 :::* LISTEN 0 80830 32710/dovecot
tcp6 0 0 :::995 :::* LISTEN 0 80818 32710/dovecot
udp 0 0 127.0.0.1:53 0.0.0.0:* 103 81194 537/named
udp 0 0 178.33.45.205:123 0.0.0.0:* 0 379863 14714/ntpd
udp 0 0 91.121.156.14:123 0.0.0.0:* 0 379862 14714/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 0 379861 14714/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 0 379854 14714/ntpd
udp6 0 0 ::1:53 :::* 103 81196 537/named
udp6 0 0 :::123 :::* 0 379855 14714/ntpd
And the 2nd
Code:
Chain INPUT (policy DROP)
target prot opt source destination
DROP tcp -- 0.0.0.0/0 127.0.0.0/8
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED
ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
DROP all -- 224.0.0.0/4 0.0.0.0/0
PUB_IN all -- 0.0.0.0/0 0.0.0.0/0
PUB_IN all -- 0.0.0.0/0 0.0.0.0/0
PUB_IN all -- 0.0.0.0/0 0.0.0.0/0
PUB_IN all -- 0.0.0.0/0 0.0.0.0/0
PUB_IN all -- 0.0.0.0/0 0.0.0.0/0
DROP all -- 0.0.0.0/0 0.0.0.0/0
I still have access via putty but no access via the browser with just opening port 53 now
Recent comments
20 hours 59 min ago
1 day 2 hours ago
1 day 6 hours ago
1 day 8 hours ago
1 day 22 hours ago
1 day 22 hours ago
2 days 3 hours ago
2 days 10 hours ago
2 days 11 hours ago
2 days 12 hours ago