No announcement yet.

Is it safe running your own web server at home with linux?


Unconfigured Ad Widget

  • Filter
  • Time
  • Show
Clear All
new posts

  • Is it safe running your own web server at home with linux?

    I highly suggest running a firewall (at least ufw) and only allow the ports you really require and drop all else (ufw deny in to any | ufw deny out to any) after those rules.

    Set up ssh on a port other than 22 to limit the amount of attacks and disable password auth and root login.

    If you have a mailserver running, make sure it runs on a limited user with no login possible and make sure your domain cannot be used by other people.

    If you have a webserver running, make sure the user is also restricted, cannot login and all the users and passwords of the web application are reasonly safe and your database cannot be accessed from outside.
    Last edited by Marc_AccuWebHosting; 08-07-2019, 09:32 AM.

  • #2
    No. Any port that you leave open to the world makes you that much less secure. So, unless you need to, do not open any ports.


    • #3
      Whether its in your home or a data center the security is the same.


      • #4
        AccuWeb Hosting 20th Anniversary Sale

        If you know how to properly secure and monitor it, yes. If not, no.



        Sign up for a News Letter Click here to sign up