News for hackers. Stuff that matters.
Re:Ask HN: Host a website from a living room in 2022? by renaissance_tea on Tuesday December 20, 2022 @08:35AM (#34065632)
Is it public? If you host a high traffic site from residential ISP connection, your account could get banned.

Regardless, I would host an NGINX proxy in front of some docker containers. It’s the easiest and classic way to front apps with custom domains very very easily. Traefik is also very nice and fast (Go based) reverse proxy.

If it’s purely for personal use, then check Cloudflared to tunnel into your network and access it like a VPN.

Again, if it’s Public be weary of DDOS attacks, port scans, etc. Personally I wouldn’t self-host a public web app from my house and instead would use a 4/mo VPS from Hetzner

Re:Ask HN: Host a website from a living room in 2022? by nirvgorilla on Tuesday December 20, 2022 @09:02AM (#34065983)
Man, you are way too afraid dude.

It's YOUR internet connection. Who's going to ban you for opening ports and running a server? I've been doing it with comcast for 20+ years.

Maybe not all my server traffic goes through port 80 or 443, but my server is also my torrent seedbox which is high traffic and just another port. WHATEVER.

My server is just a Windows 7 PC in the living room with no monitor, no keyboard, and no mouse. Only connected power and ethernet. I remotely control it with RealVNC and it's extremely stable. The only time it goes down is a power outage because I don't use a UPS.

I use it for a website (nginx/let's encrypt), Jitsi Meet, Mumble, Ventrilo, FTP, proxy (8080), and of course torrents. Not afraid of port scans.

I use a couple of DDNS domains that I give people but I can disable the public one I give to people and change my IP any time I want.

NOT VPN. NOT Cloud. NOT VPS. NOT pay monthly to someone. You can do it all yourself for free and have been able to for decades. Quit being so scared, cell phone generation.

Re:Ask HN: Host a website from a living room in 2022? by erellsworth on Tuesday December 20, 2022 @09:40AM (#34066495)
Your mistake is thinking that it is YOUR internet connection. It's not. It belongs to your ISP. If it belonged to you, you wouldn't have to pay for it every month. A lot of ISPs specifically forbid running a web server from your connection. Comcast is one of them. Among their restricted uses they include:

"use or run dedicated, stand-alone equipment or servers from the Premises that provide network content or any other services to anyone outside of your Premises local area network (“Premises LAN”), also commonly referred to as public services or servers. Examples of prohibited equipment and servers include, but are not limited to, email, web hosting, file sharing, and proxy services and servers;"

https://www.xfinity.com/Corporate/Customers/Policies/HighSpe...

Just because you've been getting away with it doesn't mean the risk of having your account suspended isn't real or worth considering.

Re:Ask HN: Host a website from a living room in 2022? by revicon on Tuesday December 20, 2022 @12:05PM (#34068767)
> Your mistake is thinking that it is YOUR internet connection. It's not. It belongs to your ISP. If it belonged to you, you wouldn't have to pay for it every month. A lot of ISPs specifically forbid running a web server from your connection. Comcast is one of them

You're not wrong, but as far as I know there is no human on earth that owns "their own internet connection", everyone's network connects to an upstream network. Every upstream service has rules their customers must abide by.

Re:Ask HN: Host a website from a living room in 2022? by nirvgorilla on Wednesday December 21, 2022 @08:36PM (#34088659)
I haven't read the "terms of service" in years, but this was never a thing I'm familiar with. It was known that if you pay for internet, you can do whatever you want with it (well, short of violating federal law).

Why do you think routers have PORT FORWARDING in them? Is that just for fun? Think about it. I can go to ebay and buy Microsoft Windows NT Server 4.0 from 1996 and run whatever DNS or IIS server I want, however outdated it is.

It's absolutely absurd to think you have to pay to host things even though you have all the equipment and bandwidth to do it yourself. I only have 1000/42Mbps but I've got a friend who just got fiber in CA who has 10Gbit both ways. Do you think I'm just going to upload Linux ISOs?

Ha ha ha haooowww

Re:Ask HN: Host a website from a living room in 2022? by erellsworth on Thursday December 22, 2022 @09:23AM (#34093519)
So, you haven't read the rules, and therefore think you can ignore them. If you're lucky, your ISP will continue not bothering to enforce their rules. Personally, I don't like relying on luck.

Again, just because you've been getting away with it doesn't mean the risk of having your account suspended isn't real or worth considering.

Re:Ask HN: Host a website from a living room in 2022? by nirvgorilla on Thursday December 22, 2022 @02:42PM (#34097588)
How dare you sit here and say that you can't even use your fucking internet dude? Why do they have PORT FORWARDING IN ROUTERS YOU BUY AT THE STORE? So you can't host a PC game like SERIOUS SAM to play multiplayer with a friend via TCP/IP direct connect?

You are a BITCH dude. I'd love to interview you in voice. Oh fucking BOY these last two generations boil my blood.

Re:Ask HN: Host a website from a living room in 2022? by nirvgorilla on Sunday December 25, 2022 @03:22AM (#34125381)
Hey ERELLSWORTH. I recorded video of me installing and setting up an actual server on my Xfinity internet connection. OMFG it's against the rules, right? Please don't report me to my ISP - I have children!

https://www.youtube.com/watch?v=4rlffwHUchk

Re:Ask HN: Host a website from a living room in 2022? by nishs on Tuesday December 20, 2022 @09:53AM (#34066663)
> Quit being so scared.

Unfortunately not everyone may live in a region with multiple internet providers, such that they can switch to a different one if banned.

Re:Ask HN: Host a website from a living room in 2022? by nirvgorilla on Wednesday December 21, 2022 @08:38PM (#34088675)
I'm not afraid. If it ever came to that, all you'd have to do is call up next day, same address, using your girlfriend's name and sign up for new service. Bet me.
Re:Ask HN: Host a website from a living room in 2022? by Mo3 on Tuesday December 20, 2022 @10:18AM (#34067038)
> NOT pay monthly to someone.

You pay your internet and electricity, no?