Hello guys! I got a website at a hotell, that works pretty good. How ever I got a pretty good ISP at home 1000/1000 Mbs. The ISP will provide me an public IP address as well. I got a pretty good router, tp archer I think it is called.
Now I got two ideas, but I would like to get some input. Of course I will rather not put my LAN at to much risk. 1) I would love to be able to run a ssh client from outside to start and stop things like a jenkins server. Before until now I have used codeanywhere.com but they start to charge now a days. 2) If it is possible I also would love to run my website from home, but this challange might cost more then I pay for my webhotell today that handels licenses, db and email and such.
What do you think guys is it possible? Is there something I need to think of? Perhaps I need to set up a DMZ? Best regards Fredrik
Sure, it's possible. Get a static IP from your ISP, forward all the relevant ports, like 22, 80 and 443, from your router to your pc, then just install an SSH server and a web server on your computer, then set up a DNS to point to your IP.
But as for whether it's a good idea, I would say definitely not. First and foremost, you will have to run your personal computer around the clock, which will cost much more in power and component wear than a cheap VPS. You could do it with a raspberry pi or similar to save power, but even then I doubt it'll be cheaper, and you still lose out on having someone else take care of uptime, replace worn drives, parallelling drives so you don't lose data, etc.
If it's just for a learning experience, fine - but for anything else, I don't really see the positives.
Synes godt om
Slettet bruger
06. marts 2019 - 13:18#2
bad idea..
#monthly power bill #you need to make daily backups on a big NAS disk (further cost) #the website will be attacked by robots, and they will find your computers on the internal net and those will begind to receive over 100 attacks pr day
An SSH-server on your local machine? The SSH protocol is very secure, but obviously you are exposing potentially full access to your machine behind only a password or key file.
Is it insecure? Probably not, depending on the password you choose. But it is indisputably less secure than not having it. Just like enabling Remote Desktop access in Windows would be. It's a calculated risk that you'll have to make up your own mind on whether it's worth it.
If it's just a home computer, you probably don't have anything really critical on it, so I'd say go for it. Just pick a good, long password and use RSA keys if you don't want to type it every time.
Synes godt om
Ny brugerNybegynder
Din løsning...
Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.