I'm new to Linux and security matters. I have a vps with Ubuntu 12.04 server and I wonder how secure this server is.
I set up ssh passwordless login and disabled ssh login for root. I update security packages. I don't use a firewall. There are only two services which listen for external incoming connections:
~ > sudo netstat -tupln
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1272/nginx
tcp 0 0 127.0.0.1:41333 0.0.0.0:* LISTEN 1232/domain.lighttpd
tcp 0 0 127.0.0.1:4949 0.0.0.0:* LISTEN 908/munin-node
tcp 0 0 0.0.0.0:21012 0.0.0.0:* LISTEN 807/sshd
tcp6 0 0 :::21012 :::* LISTEN 807/sshd
Is my system secure? Is it worth to use a firewall to shield these two services?
