Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Output of sudo iptables --list -n:
- Chain INPUT (policy DROP)
- target prot opt source destination
- ufw-before-logging-input all -- 0.0.0.0/0 0.0.0.0/0
- ufw-before-input all -- 0.0.0.0/0 0.0.0.0/0
- ufw-after-input all -- 0.0.0.0/0 0.0.0.0/0
- ufw-after-logging-input all -- 0.0.0.0/0 0.0.0.0/0
- ufw-reject-input all -- 0.0.0.0/0 0.0.0.0/0
- ufw-track-input all -- 0.0.0.0/0 0.0.0.0/0
- Chain FORWARD (policy DROP)
- target prot opt source destination
- ufw-before-logging-forward all -- 0.0.0.0/0 0.0.0.0/0
- ufw-before-forward all -- 0.0.0.0/0 0.0.0.0/0
- ufw-after-forward all -- 0.0.0.0/0 0.0.0.0/0
- ufw-after-logging-forward all -- 0.0.0.0/0 0.0.0.0/0
- ufw-reject-forward all -- 0.0.0.0/0 0.0.0.0/0
- Chain OUTPUT (policy ACCEPT)
- target prot opt source destination
- ufw-before-logging-output all -- 0.0.0.0/0 0.0.0.0/0
- ufw-before-output all -- 0.0.0.0/0 0.0.0.0/0
- ufw-after-output all -- 0.0.0.0/0 0.0.0.0/0
- ufw-after-logging-output all -- 0.0.0.0/0 0.0.0.0/0
- ufw-reject-output all -- 0.0.0.0/0 0.0.0.0/0
- ufw-track-output all -- 0.0.0.0/0 0.0.0.0/0
- Chain ufw-after-forward (1 references)
- target prot opt source destination
- Chain ufw-after-input (1 references)
- target prot opt source destination
- Chain ufw-after-logging-forward (1 references)
- target prot opt source destination
- LOG all -- 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix `[UFW BLOCK] '
- Chain ufw-after-logging-input (1 references)
- target prot opt source destination
- LOG all -- 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix `[UFW BLOCK] '
- Chain ufw-after-logging-output (1 references)
- target prot opt source destination
- Chain ufw-after-output (1 references)
- target prot opt source destination
- Chain ufw-before-forward (1 references)
- target prot opt source destination
- ufw-user-forward all -- 0.0.0.0/0 0.0.0.0/0
- Chain ufw-before-input (1 references)
- target prot opt source destination
- ufw-user-input all -- 0.0.0.0/0 0.0.0.0/0
- Chain ufw-before-logging-forward (1 references)
- target prot opt source destination
- Chain ufw-before-logging-input (1 references)
- target prot opt source destination
- Chain ufw-before-logging-output (1 references)
- target prot opt source destination
- Chain ufw-before-output (1 references)
- target prot opt source destination
- ufw-user-output all -- 0.0.0.0/0 0.0.0.0/0
- Chain ufw-logging-allow (0 references)
- target prot opt source destination
- LOG all -- 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix `[UFW ALLOW] '
- Chain ufw-logging-deny (0 references)
- target prot opt source destination
- RETURN all -- 0.0.0.0/0 0.0.0.0/0 state INVALID limit: avg 3/min burst 10
- LOG all -- 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 10 LOG flags 0 level 4 prefix `[UFW BLOCK] '
- Chain ufw-reject-forward (1 references)
- target prot opt source destination
- Chain ufw-reject-input (1 references)
- target prot opt source destination
- Chain ufw-reject-output (1 references)
- target prot opt source destination
- Chain ufw-skip-to-policy-forward (0 references)
- target prot opt source destination
- DROP all -- 0.0.0.0/0 0.0.0.0/0
- Chain ufw-skip-to-policy-input (0 references)
- target prot opt source destination
- DROP all -- 0.0.0.0/0 0.0.0.0/0
- Chain ufw-skip-to-policy-output (0 references)
- target prot opt source destination
- ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
- Chain ufw-track-input (1 references)
- target prot opt source destination
- Chain ufw-track-output (1 references)
- target prot opt source destination
- ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW
- ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 state NEW
- Chain ufw-user-forward (1 references)
- target prot opt source destination
- Chain ufw-user-input (1 references)
- target prot opt source destination
- ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:22
- ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:25
- ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:53
- ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:53
- ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:80
- ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:80
- ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:443
- ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:443
- ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 tcp dpt:3306
- ACCEPT udp -- 0.0.0.0/0 0.0.0.0/0 udp dpt:3306
- ACCEPT tcp -- 127.0.0.1 127.0.0.1 tcp dpt:9000
- ACCEPT udp -- 127.0.0.1 127.0.0.1 udp dpt:9000
- Chain ufw-user-limit (0 references)
- target prot opt source destination
- LOG all -- 0.0.0.0/0 0.0.0.0/0 limit: avg 3/min burst 5 LOG flags 0 level 4 prefix `[UFW LIMIT BLOCK] '
- REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-port-unreachable
- Chain ufw-user-limit-accept (0 references)
- target prot opt source destination
- ACCEPT all -- 0.0.0.0/0 0.0.0.0/0
- Chain ufw-user-logging-forward (0 references)
- target prot opt source destination
- Chain ufw-user-logging-input (0 references)
- target prot opt source destination
- Chain ufw-user-logging-output (0 references)
- target prot opt source destination
- Chain ufw-user-output (1 references)
- target prot opt source destination
- ###########################################################
- Output of nginx.conf:
- user www-data;
- worker_processes 1;
- error_log /var/log/nginx/error.log;
- pid /var/run/nginx.pid;
- events {
- worker_connections 1024;
- # multi_accept on;
- }
- http {
- include /etc/nginx/mime.types;
- access_log /var/log/nginx/access.log;
- sendfile on;
- #tcp_nopush on;
- #keepalive_timeout 0;
- keepalive_timeout 65;
- tcp_nodelay on;
- gzip on;
- gzip_disable "MSIE [1-6]\.(?!.*SV1)";
- include /etc/nginx/conf.d/*.conf;
- include /etc/nginx/sites-enabled/*;
- }
- Output of \etc\nginx\fastcgi_params:
- fastcgi_pass 127.0.0.1:9000;
- fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
- fastcgi_param QUERY_STRING $query_string;
- fastcgi_param REQUEST_METHOD $request_method;
- fastcgi_param CONTENT_TYPE $content_type;
- fastcgi_param CONTENT_LENGTH $content_length;
- fastcgi_param SCRIPT_NAME $fastcgi_script_name;
- fastcgi_param REQUEST_URI $request_uri;
- fastcgi_param DOCUMENT_URI $document_uri;
- fastcgi_param DOCUMENT_ROOT $document_root;
- fastcgi_param SERVER_PROTOCOL $server_protocol;
- fastcgi_param GATEWAY_INTERFACE CGI/1.1;
- fastcgi_param SERVER_SOFTWARE nginx/$nginx_version;
- fastcgi_param REMOTE_ADDR $remote_addr;
- fastcgi_param REMOTE_PORT $remote_port;
- fastcgi_param SERVER_ADDR $server_addr;
- fastcgi_param SERVER_PORT $server_port;
- fastcgi_param SERVER_NAME $server_name;
- # PHP only, required if PHP was built with --enable-force-cgi-redirect
- fastcgi_param REDIRECT_STATUS 200;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement