[-] KazuchijouNo@lemy.lol 1 points 21 hours ago

I'm learning docker now. I found a whole video about the reverse proxy capabilities of nginx and docker, so I'll be checking that out.

My goal is to have my own homelab and expose some services to the internet, or maybe even set up my own vpn so that I may access and configure things on my network from somewhere else.

I'm still struggling with the port forward thingie, and while Cloudflare tunnels are a nice thing to have, they protect me too much. I want a public IP address that I can use and register on a DNS, or ssh directly into my network from anywhere in the world. As I mentioned, I want to be able to shoot myself in the foot without actually doing so, (hopefully).

[-] KazuchijouNo@lemy.lol 3 points 21 hours ago

Yeah, it was kinda scary. I had never hosted anything online, and all of the sudden I get bombarded with scans and attacks from everywhere.

But I know I can't lose anything important, and that this is expected on the internet.

It was just, uh... You know the feeling when someone tells you something is heavy, then they give it to you, and it's a bit heavier than you expected? And they go: "I told you it was heavy". And it's not a big deal, because in the end you just adjust your strenght to match that weight. But there's that one second of realisation where you go "ooop! What's this?". Yeah, it was kinda that.

[-] KazuchijouNo@lemy.lol 1 points 22 hours ago

Thanks! I'll keep all of that in mind. I knew there were a lot of bots and scripts running rampant on the internet, but I was really surprised when I put my website online and suddendly became a target.

It's good to know I'm not really at risk and that this is expected. I'll try to learn more about cybersecurity

31

Ok, it's me again. I've been checking the sampled logs on my cloudflare website and I've noticed some very particular requests:

Some context: I'm hosting my own static website (a personal blog) at home and serving it to the internet through a Cloudflare tunnel.

Upon inspecting them it seems like they are bots and web-crawlers trying to access directories and files that don't exist on my server, (since I'm not using wordpress). While I don't really have any credentials or anything to lose on my website and these attacks are harmless so far, this is kinda scary.

Should I worry? Is this normal internet behaviour? Should I expect even worse kinds of attacks? What can I do to improve security on my website and try to block these kinds of requests/attacks?

I'm still a noob, so this is a good opportunity for learning.

Thanks

[-] KazuchijouNo@lemy.lol 2 points 2 days ago

Noice! Thx btw

[-] KazuchijouNo@lemy.lol 16 points 2 days ago

RIP

(I'mma pray for you)

[-] KazuchijouNo@lemy.lol 1 points 2 days ago

Also, is there any particular reason why my decision to use NGINX stood out to you? Is it a good start?

I wanted to use APACHE at first (really trying to go for that old internet experience) but decided to use NGINX because the learning resources were more readily available, (and I kept hearing "NGINX" everywhere)

[-] KazuchijouNo@lemy.lol 1 points 2 days ago

Thanks! I appreciate your concern.

This website is just a personal fun project, and I haven't got anything to lose if it gets compromised. On the contrary I've gained a lot so far, and I might gain even more if something bad were to happen to it.

No one can hack into the knowledge and experience I've gained so far.

If you've got any advice on security tools, good practices, etc. I'd appreciate them! I may lack the knowledge, but not the will to learn more

[-] KazuchijouNo@lemy.lol 2 points 2 days ago

Thanks! I'll check it out!

[-] KazuchijouNo@lemy.lol 2 points 2 days ago

Then yes, you'll love it

[-] KazuchijouNo@lemy.lol 2 points 2 days ago

Yeah, I messed up a bit. Cloudflare cached my website and I couldn't see any modifications I made. So I couldn't catch the typo on the letter size (extra zero). I re-enabled dev-mode and corrected the typo so it should be working now!

Check it out: kazuchijou.com

[-] KazuchijouNo@lemy.lol 2 points 2 days ago

It depends, why do you like lain?

81
137

So, I've been trying to accomplish this for a while. First I posted asking for help getting started, then I posted about trying to open ports on my router. Now, I proudly post about being able to show the world (for the first time ever) my abysmal lack of css and html skills.

I would like to thank everyone in this community, specially to those who took the time to answer my n00b questions. If you'd like to see it, it will be available at: https://nginxtest.kazuchijou.com/

(Beware however, for you might cringe into oblivion and back.)

Since this website is hosted on my desktop computer, there will be some down-time here and then, however I'll leave it on for the next 48 hours (rip electricity bill) only for you guys to see. <3


Now, there are a couple of things that need addressing:

I set it up as a cloudflare tunnel and linked it to my domain. However, I still don't know any docker at all (despite using it for the tunnel), and the process was too incredibly and stupidly easy. I don't think I learned as much as I expected and I didn't feel challenged at all.

The original idea was to do some port forwarding. (This was foolish and a bit of a waste of time). Despite getting a "public-ip-address" from my ISP, I still was unable to open ports successfully. I kept getting the same error again and again. If you'd like to read my original post about port forwarding you may follow this link: "[Solved] ((lie)) Noob stuck on port-forwarding wile trying to host own raw-html website. Pls help".

While I know doing this represents a security risk, I still wanted to at least have a small success with port forwarding. I just wanted to have the raw-internet-connection experience, you know? like, the basics and such. And Cloudflare is holding my hand way too hard, I want to feel like I can shoot myself in the foot (without actually doing so)

But to be honest, I'm quite happy with the outcome. There are many other avenues I'd like to explore in the future, like setting up a reverse proxy with nginx or even darknet hosting (as sugested by another commentor).

I hope to keep learning and some day help another poor soul like myself in a similar situation. I thank you again guys, you're the best.

[TL;DR] This is the best and most helpful community ever! thx <3

71
submitted 1 week ago* (last edited 1 week ago) by KazuchijouNo@lemy.lol to c/selfhosted@lemmy.world

Edit: Solution

Yeah, thanks to u/postnataldrip@lemmy.world I contacted my ISP and found out that in fact they were blocking my port forwarding capabilities. I gave them a call and I had to pay for a public IP address plan and now it's just a matter of testing again. Thank you very much to everyone involved. I love you. It was Megacable by the way. If anyone from my country ever encounters the same problem I hope this post is useful to you.

Here's the original post:

Hey!

Ok, so I'm trying to figure this internet thing out. I may be stupid, but I want to learn.

So, what I'm essentially doing is trying to host my own raw html website on my own hardware and get it out to the internet for everyone to see (temporarily of course, I don't want to get in trouble with hackers and bots) I just want to cross that out of my bucket list.

What I've done so far:

  • I set up a qemu/kvm virtual machine with debian as my server
  • I configured a bridge so that it's available to my local network
  • I got my raw html document
  • I'm serving it locally with nginx
  • I tried to set up port forwarding (I get stuck here)

Right now everyone in my home can see my ugly website if they go to 192.168.1.114:8080 (since I'm serving it through port 8080).

However, I want to be able to go outside (I'm testing it with my mobile network using mobile data) to see my website.

I've configured port forwarding on my ZTE router (ISP-issued) with the following parameters:

But now, if I search for my public IP address on my phone I don't get anything. Even if I go to my.public.ip.address:8080 (did you think I was gon-give you my public ip?)

I don't get anything. I've tried ping and curl. ping doesn´t even transmit the packages, curl says "Could not connect to server".

So, If you guys would be so kind as to point me in the right direction, I pose the following questions :

  • How do I even diagnose this?
  • What am I missing?
  • Am I being too stupid?
  • What do I do now?

(Here's a preview of my ugly website)

I also own a domain (with cloudflare) so, next step is getting that set-up with a DNS or something.

Thank youuuuuuu <3

102
33
submitted 3 weeks ago* (last edited 3 weeks ago) by KazuchijouNo@lemy.lol to c/mildlyinteresting@lemmy.world
23

This is my latest attempt at reaching whatever's at the bottom. I've learned from my previous mistakes and I believe I've got a better character this time. I even brought two akhs, a blessed one and a regular one (both lost in this same level). I'm still running out of food and health potions very quickly in the last levels. The bosses are really taxing in terms of health potions, and exploring takes a lot of time, which means I'm using many food items. Here are my items and skills:

Screenshot_20240903-161141 Screenshot_20240903-161228

30
submitted 3 months ago* (last edited 3 months ago) by KazuchijouNo@lemy.lol to c/pixeldungeon@lemmy.world

So, I've spent about 7 hours in this game and dying at this point was really painful, after killing the DM-300 and surviving the dwarven city (which was incredibly hard) I died at the hands of some monk. No food, no health potions, nada.

I'm playing as a rogue assassin, I had got a level 8 evasion ring, which I was hoping would make it impossible for enemies to hit me. I also had level 2 plate armour with viscosity.

Looking back this was definitely my fault, I think I was too careless in the dwarven city. I lost two ankhs in one level.

Any advice?? This is the farthest down I've got.

16

Staying at a hospital with my friend who is suffering from leukemia, I've come to the realization of how fragile we are, yet it makes me feel hopeful about humanity. I've seen lots of people and heard lots of stories. The patient next door (we are in a secluded area) hit his head and is in a coma. His family members come to tend to him and speak to him every day. Listening faintly to them singing and speaking brings tenderness to my heart. Seeing my friend smile and feel better after playing videogames and conversing together is truly priceless. She's such a sweet person. Despite the adversities and injustices of life everything's been working out for her and she's recovering, she'll hopefully be out in less than a week.

I think empathy and solidarity are some of the greatest things we have as a species. I wish more people could see that. Medicine as a whole is pretty cool, and it's just something I've never quite thought about, or at least it hadn't quite had an impact on me before because it's so commonplace. We dedicate a lot of effort and resources to helping people, and to say this is highly commendable would be a huge understatement.

I don't really know where to post this, it's like 4:30 am and I'm feeling a bit sensible. My friend's lost two very important people in her life within last year, this isn't the first time she's had leukemia, and these few months have been incredibly hard for her. Despite this, she keeps on going, she keeps smiling and laughing, and I really admire her.

I hope the patient next door recovers and gets to be with his loving family once more. I hope no one here has to go through anything similar, and if you are, I hope everything works out in the end.

If you've read this far, I appreciate that you took some time of your day to read my 4 am ramblings. I hope I've been of some help. If anything I want people to feel united, for we may have different nationalities and languages, but we feel the same feelings, our hearts speak a collective language.

Have a lovely life.

34

Hello fellow lemmings! As mentioned in the title, I'm barely just getting started with the self hosting thing and such.

I have a small personal project for which I'd like to self host my own "ugly-90's-HTML" blog (I just love the look and feel you know).

I've got a desktop machine that I could use as a server, and I also just purchased my own domain from cloudflare (for commitment), but I'm a bit stuck on the actual "putting-my-stuff-online" thing and I don't want to do anything stupid.

I know there's a lot of learning I still need to do, but that's the reason I'm starting this project. Any help would be welcomed.

I have 3 cents of basic networking knowledge (I made my own Ethernet cable conection to my gateway :D); I'm using a linux distro as my main desktop; I have created an ssh tunnel with cloudflare so far, and I'm following a little html+css tutorial. The thing is, I've found so many different ways of putting things online, I'm a bit dizzy. I would like something that will teach me the fundamentals without holding my hand too much (a la "next, next, next, confirm, finish"), you know? I mean, I'm learning by essentially making a 90's website... So, yeah.

Thanks in advance <3

[TL;DR] Me want make 90's website, don't know how

62
submitted 6 months ago by KazuchijouNo@lemy.lol to c/unixporn@lemmy.ml
view more: next ›

KazuchijouNo

joined 11 months ago