maxwellfire
@maxwellfire@lemmy.world
- Comment on Could anyone recommend me a self-hosteable TinkerCAD equivalent? 21 hours ago:
What about solvespace web build: github.com/solvespace/solvespace/tree/emscripten#…
- Comment on Chaining routers and GUA IPv6 addresses 3 weeks ago:
Yeah openwrt should be great. It uses nftables as a firewall on a Linux distribution. You can configure it through a pretty nice ui, but you also have ssh access to configure everything directly if you want.
The challenge is going to be what the ISP router supports. If it supports bridge mode then things are easy. You just put your router downstream of it and pretend like it’s a modem. Then you configure openwrt like it’s the only router in the network.
If you don’t have bridge mode then things are harder. There’s some helpful information here forum.openwrt.org/t/…/19 even though the situation is slightly different since they also don’t want a firewall. But you probably need to configure your upstream side on the openwrt router similarly.
- Comment on Chaining routers and GUA IPv6 addresses 3 weeks ago:
I’d recommend something that you can put openwrt or opnsense/pfsense on. I think the tplink archers support openwrt at least.
The ISP router opening things at a port level instead of a host level is kinda insane. Do they only support port forwarding? Or when you open a port range can you actually send packets from the WAN to any LAN address at that port.
Can you just buy your own modem, and then also use your own router? (If the reason you need the ISP router is that it also acts as a modem).
Does the ISP router also provide your WiFi? If it does you should definitely go with a second router/access point and then disable the one on the ISP router.
- Comment on Is it possible to run a reverse proxy only on a specific service or port? 1 month ago:
You have two options for setting up https certificates and then some more options for enabling it on the server:
1: you can generate a self signed certificate. This will make an angry scary warning in all browsers and may prevent chrome from connecting at all (I can’t remember the status of this). Its security is totally fine if you are the one using the service since you can verify the key is correct
2: you can get a certificate to a domain that you own and then point it at the server. The best way to do this is probably through letsencrypt. This requires owning a domain, but those are like $12 a year, and highly recommended for any services exposed to the world. (You can continue to use a dynamic DNS setup, but you need one that supports custom domains)
Now that you have a certificate you need to know, Does the service your hosting support https directly. If it does, then you install the certificates in it and call it a day. If it doesn’t, then this is where a reverse proxy is helpful. You can then setup the reverse proxy to use the certificate with https and then it will connect to the server over http. This is called SSL termination.
There’s also the question of certificate renewal if you choose the letsencrypt option. Letsencrypt requires port 80 to do a certificate renewal. If you have a service already running on port 80 (on the router’s external side), then you will have a conflict. This is the second case where a reverse proxy is helpful. It can allow two services (letsencrypt certificates renewal and your other service) to run on the same external port. If you don’t need port 80, then you don’t need it.
So to summarize:
IF service doesn’t support SSL/https OR (want a letsencrypt certificate AND already using port 80)
Then use a reverse proxy
ELSE:
You don’t need one, but can still use one.
- Comment on Is it possible to run a reverse proxy only on a specific service or port? 1 month ago:
Reverse proxies don’t keep anything private. That’s not what they are for. And if you do use them, you still have to do port forwarding (assuming the proxy is behind your router).
For most home hosting, a reverse proxy doesn’t offer any security improvement over just port forwarding directly to the server, assuming the server provides the access controls you want.
If you’re looking to access your services securely, then what you want is a VPN (for vpns, you also often have to port forward). Now, there’s a problem because companies have completely corrupted the normal meaning of a VPN with things like nordvpn that are actually more like proxies and less like VPNs. A self hosted VPN will allow you to connect to your hone network and all the services on it without having to expose those services to the internet.
In a way, VPNs often function in practice like reverse proxies. They both control traffic from the outside before it gets to things inside. But deeper than this they are quite different. A reverse proxy controls access to particular services. Usually http based and pretty much always TCP/IP or UDP/IP based. A VPN controls access to a network (hence the name virtual private network). When setup, it shows up on your clients like any other Ethernet cable or WiFi network you would plug in. You can then access other computers that are on the VPN, or given access to to the VPN though the VPN server.
The VPN softwares usually recommended for this kind of setup are wireguard/openvpn or tailscale/zerotier. The first two are more traditional VPN servers, while the second two are more distributed/“serverless” VPN tools.
- Comment on Is it possible to run a reverse proxy only on a specific service or port? 1 month ago:
How will a reverse proxy help?
Things that a reverse proxy is often used for:
- making multiple services hosted on the same IP and port
- SSL termination so that the wider world speaks https and the proxy speaks http to the server. This means the server doesn’t have to do its own key management
- load balancing services so multiple servers can serve the same request (technically a load balancer but I believe some fever proxies do basic load balancing)
- adding authentication in front of services that don’t have their own (note that some of the protections/utility is lost if you use http. Anyone who can see your traffic will also be able to authenticate. It’s not zero protection though because random internet users probably can’t see your traffic)
- probably something I’m forgetting
Do any of these match what you’re trying to accomplish? What do you hope to gain by adding a reverse proxy (or maybe some other software better suited to your need)?
- Comment on Discord lowers free upload limit to 10MB: “Storage management is expensive” 2 months ago:
You definitely use a firewall, but there’s no need for NAT in almost all cades with ipv6. But even with a firewall, p2p becomes easier even if you still have to do firewall hole punching
- Comment on GitHub - timelinize/timelinize: Store your data from all your accounts and devices in a single cohesive timeline on your own computer 2 months ago:
From looking at the github, I think you don’t need to/want to host this publicly. It doesn’t automatically get and store your information. It’s more a tool for visualizing and cross referencing your takeout/exported data from a variety of tech platforms. It’s just developed as a web app for ease of UI/cross platform/ locally hostable.
- Comment on What's the bang for the buck go to for AI image generation and LLM models? 3 months ago:
I feel like this really depends on what hardware you have access too. What are you interested in doing?How long are you willing to wait for it to generate, and how good do you want it to be?
You can pull off like 0.5 word per second of one of the mistral models on the CPU with 32GB of RAM. The stabediffusion image models work okay with like 8-16GB of vram.
- Comment on Cloudflare is bad. Youre right. 4 months ago:
Your ISP knows where you’re going anyway. They don’t need DNS for that. They see all the traffic.
- Comment on xkcd #2915: Eclipse Clouds 7 months ago:
I think upstate is forecast to be one of the clearer places
- Comment on How to auto-reboot if CPU load too high? 8 months ago:
The symptoms you describe are exactly what happens to my machine when it runs out of memory and then starts swapping really hard. This is easy to check by seeing if disk io also spikes when it happens, and if memory usage is high
- Comment on What is your preferred method for backing up several TB of data? 8 months ago:
On linux and Mac there’s also vorta.borgbase.com which is pretty good
- Comment on [Question] Firewall noob vs. port forward 9 months ago:
Your filter rule association is set to ‘rule’. What is that associated rule, and do things work if you change it to ‘pass’?
- Comment on [Question] Firewall noob vs. port forward 9 months ago:
Instead of connecting with a web browser, can you try using curl or telnet just to check if you’re getting through at the IP connection level?