Quote:
|
Originally Posted by ilnux What should be my next step towards better security? |
There's really a lot you could do to lock this down further. On a very basic level I'd say you will want to allow only pubkey authentication (and disable all others) for sshd. And you may want to run apache22 in a FBSD jail. Hardening apache itself, based on your needs, is another story.
Quote:
|
Originally Posted by wildpossum Setup sshd.conf to disallow Type 1 connections. |
This is already done by default on a FBSD installation (only protocol 2 is allowed).
Quote:
|
Originally Posted by wildpossum Run apache as nobody, or as a user name that hasn't got a home directory. NEVER, run apache as root. |
If OP installed apache22 from ports, it runs as the www user.
You have three packet filtering firewall choices. They're all explained in the handbook:
Chapter 28 Firewalls.