@Thorvid_botlakhan@kbin.social avatar

Thorvid_botlakhan

@[email protected]

This profile is from a federated server and may be incomplete. View on remote instance

ELI5 resources for publishing self hosted services ( kbin.social )

So, couple years ago i started to learn about tech, programming and self hosting services thanks to redditors ( not reddit the evil corp ), and found lots of communities where they pointed me to good resources but then ended up allocating more time to learning programming to switch career into that field and finally got it....

Thorvid_botlakhan OP ,
@Thorvid_botlakhan@kbin.social avatar

I may have express myself poorly, sorry, was in a rush.

I got the services running fine, am still learning and testing few things but the things I need or build are available and running on local.

My issue is about publishing them online, like linking them to a domain name I bough, and pointing that to my static home IP address, and the routing for each of them
like "cloud.myhomelab.net" to point to my home IP, and then reverse proxy that to the nextcloud instance at 192.168.1.127:8080 that is a proxmox container running docker containers

I followed some of dbtech's tutorials, and tried via Porkbun and cloudflare tunnels, and just after posting this I saw that it finally propagated (after a looot of days) but can only reach one of the services I set up.

Another way i kinda heard about was not using cloudflare tunnels and redirecting the traffic to my static IP to an nginx container that then redirects the traffic inside my home lan but I really don't know how to handle security with that, and also my ISP is blocking traffic on port 80 and 443 ( "it's for our router firmware's updates..." that were like 4 years ago last update )

All the idea of how to connect my local machines to the outside world and different method and secure proofing is soo difficult to understand for my, i really can't wrap my head around on what does what

Thorvid_botlakhan OP ,
@Thorvid_botlakhan@kbin.social avatar

right?? so it's not just my own impression...

I know I like tech stuff and I know i can get passionate and raise my skills on my own, but I could not find any good "beginner level" resource that didn't step from a simple nice to get drawing of how things should be, to a complex mixmatch of services and settings that leaves me in doubt of what do i have to do in my instance....

Thanks for the link, i'll check it out as i get back home...
Since you are on the same journey and know about any group chat or communities that are noob approachable, i'm all ears

Thorvid_botlakhan OP ,
@Thorvid_botlakhan@kbin.social avatar

same here about reddit, I just joined as well, and also plan on giving back to communities I enjoyed in reddit.

Unfortunately i'm kinda busy with a new job and I haven't had time yet to properly set up all my communities and start adding content :(

anyway, thanks a lot, i didn't know about tildes, i'll check it out !!

Thorvid_botlakhan OP ,
@Thorvid_botlakhan@kbin.social avatar

thanks a lot for the easy recap !!
I remember hearing and checking out Nginx Proxy Manager while following tutorials some mention that, but i found the tutorials kinda awkward at the time and didn't fully understand what it was for ( it was kinda of a long time ago tbh ).

As for the ISP, it is Fastweb, in italy, and is kinda a bummer, they rely on Telecom's FTTC network ( meaning the cable and cabinets infrastructure ) for their service, so i can either choose Fastweb ( kinda good pricing since I only have internet and no home phone ) or Telecom's pricing are like and armed robbery, where the fixed price you sign is already higher, and is full of hidden paid service that pop up every now and again and it gets you mad on how many times you have to call their customer service to either remove those service or claim refund.

Other ISPs in my area don't have fiber connection and top to like 5 Mbs downloads on a good day.

Anyway, thanks a lot!

Thorvid_botlakhan OP ,
@Thorvid_botlakhan@kbin.social avatar

thanks again for the clarification.
I have used a wireguard instance for my father's synology couple years ago following some tutorials since his account was having problems using the synology quickconnect for some reason ( solved by the support )

Anyway, yeah I remember it was kinda of an hassle to setup and explain to him multiple times the process...and to be honest i quite forget most of it myself...

On Android one can't just run one app via vpn right??
like tunneling just the nextcloud app and leavin the rest alone..

Thorvid_botlakhan OP ,
@Thorvid_botlakhan@kbin.social avatar

I tried it couple of times when i was less knowledgeable, and failed... i do need to give it another try, but I really struggle focusing on this steps...

It almost makes javascript seem quick and easy hahahah

Thorvid_botlakhan OP ,
@Thorvid_botlakhan@kbin.social avatar

wow, thanks!

guess it was not as obscure as I thought...

Right now i'm following step by step the nginx proxy manager tutorials, reeeaally reeeally slowly so i can take notes for the next time, and undertsanding better

Hope not to screw it up again xD
I really need nextcloud and my data at hand, i'm so tired of having thigns scattered between google drive, keeps, notion, calendars etc...

Thorvid_botlakhan OP ,
@Thorvid_botlakhan@kbin.social avatar

well...i failed yet again... xD
i was up until 2 am trying tweaking porkbun, cloudflare and nginx proxy manager...
Everything says it's up and running, but i keep getting
" Web server is down Error code 521 "
or
"Hmm. We’re having trouble finding that site."

Now am also late for work and only slept like 5 hours...
and what bugs me the most is that this is just the "testing " setup... when i'll finally get it working i'd have to do it all over again for the main services and private stuff :(

Thorvid_botlakhan OP ,
@Thorvid_botlakhan@kbin.social avatar

wow, thanks for all the help!! Man, i misssed this kind of community feel for the last like...4 years.

I just woke up and saw this comment, as i get back from work i'll test it.
Yesterday I've tried making nginx proxy manager and cloudflare work, since I had already tried them couple of times, but still, i get to the same point and can't really figure out why I either get "Hmm. We’re having trouble finding that site." or " Web server is down Error code 521 "

Thorvid_botlakhan OP ,
@Thorvid_botlakhan@kbin.social avatar

welp... i go to fail this too... xD

read the documentation you listed
dug around the official docs setting up and getting informed beforehand

I read about testing to the staging letsencrypt api, but then forgot to add that

ran the container, it failed to get ssl certificates, but it blocked me in less than 20 seconds

I then changed some configs, since i was testing different ways of how it might work, but even after switching to the staging api for letsencrypt, i still receive logs saying it is refused and on timeout

ERR ts=1688509895.6641216 logger=tls.obtain msg=will retry error=[nextcloud.mysite.com] Obtain: [nextcloud.mysite.com] solving challenge: nextcloud.mysite.com: [nextcloud.mysite.com] authorization failed: HTTP 400 urn:ietf:params:acme:error:dns - DNS problem: NXDOMAIN looking up A for nextcloud.mysite.com - check that a DNS record exists for this domain; DNS problem: NXDOMAIN looking up AAAA for nextcloud.mysite.com - check that a DNS record exists for this domain (ca=https://acme-staging-v02.api.letsencrypt.org/directory) attempt=2 retrying_in=120 elapsed=66.535909489 max_duration=2592000

ERR ts=1688509906.5700405 logger=tls.obtain msg=unable to unlock identifier=sp.mysite.com lock_key=issue_cert_sp.27082019.xyz error=remove /data/caddy/locks/issue_cert_sp.mysite.com.lock: no such file or director

i just might be cursed

Thorvid_botlakhan ,
@Thorvid_botlakhan@kbin.social avatar

goood!
Reddit behaved in such a horrible way, that I feel like API pricing was the least of the bad...

One could argue about their fairness and aim to destroy 3rd party apps, and I had already closed my accounts at that very step.

But the way they treated mods, forced subs to open and behaved like pure evil assholes, I really see how companies or more "official" subreddits with a touch of interest in their users, would feel the desire to leave and close bridges

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • All magazines