0spkl

joined 1 year ago
[–] 0spkl@kbin.social 1 points 1 year ago

@kronicd Unless android has implemented DHCPv6 and nobody is talking about it, no, no it's not. It would still need me to route the entire /64 to one network after all for SLAAC.

Unless you're suggesting I install more-specific routes on the other networks? maybe a /65 or /66 on them? But in that case, wouldn't the main network, with it's full /64 prefix, have issues reaching those other hosts... hmm. Unless I deploy it with ULA addresses too. And treat the GUA addresses as just for internet connectivity.

Might still have to NAT66 it for other networks that may see android devices...

Might experiment with it once my opnsense box arrives I guess. Don't want to muck around with that on openwrt.
I just wish I got like a /60 at least.

I suppose tunnelling to a VPS is one option, but I'd rather use NAT66 over that because it'd have better throughput/latency.

 

So after reading many articles going 'Don't use NAT66', I'm experimenting deploying NAT66 to provide IPv6 internet access to some VLANs on my network.

I've tried asking my ISP for anything better then a /64, but apparently they are either unwilling, or unable to provide that. And every. single. ISP. in my country (Malaysia) is giving out /64 prefix delegations.

So on my test network, which is a VLAN (w/ WiFi) routed by an OPNSense instance running on one of my proxmox hosts, I've been testing it and it seems to work well enough I suppose. Well, at least better then HE TunnelBroker, speed wise anyway.

Unless anyone knows of any other approaches I can use for this?

#tech

[–] 0spkl@kbin.social 1 points 1 year ago

I really only have a 500Mbit down/100Mbit up connection, so on the WAN side, it's fine, can handle that easily.

And meanwhile on the LAN/VLAN side, I haven't tested, but I've mostly tried putting the high bandwidth stuff in the same VLAN just so they don't hit the router (on a stick), and just crosses the switch.

I've got a N200 aliexpress box on the way though. OPNSense is looking mighty interesting.

 
[–] 0spkl@kbin.social 2 points 1 year ago

You could use apache2 vhosts to route bitwarden.domain2.com traffic to wherever the heck you want. Even to another server on the internet.

Think of a vhost as uh... another set of apache server configuration that ONLY applies if the incoming traffic is for that domain/hostname.
That's determined by the Host header in the request, or the TLS SNI value if you're using HTTPS.

Then in that vhost, you'd just configure it like you would any apache instance, like say, for the root location, have it do a proxy_pass, etc.

[–] 0spkl@kbin.social 4 points 1 year ago* (last edited 1 year ago) (1 children)

I feel like I'm missing some EASY thing; like can't my apache2 just route the bitwarden.domain1.com traffic to another local IP address...

Yes. It can. https://httpd.apache.org/docs/2.4/vhosts/name-based.html

[–] 0spkl@kbin.social 2 points 1 year ago* (last edited 1 year ago) (2 children)

I mean, if you already have nginx OR apache, you could set up a vhost with the other domain name and do a proxy_pass or similar thing to the other one?

They don't need to be the same host software, you'd just need to configure one of them to know how to route it to the other instance. It's just plain HTTP(s) after all.

Reverse proxying is a feature in both nginx and apache after all. Though I'd recommend using nginx for that.

[–] 0spkl@kbin.social 3 points 1 year ago (1 children)

I mean, yeah. That is true, a GUI would be easier for someone to learn. But once you do, config files are way faster.

Honestly, I first moved to traefik (from caddy) because it let me put my proxy configuration next to the application it's for. (When I was using docker-compose files to manage this.)

[–] 0spkl@kbin.social 6 points 1 year ago (4 children)

If you're going to be jumping straight into text based config files.... Caddy's Caddyfile format is a lot easier to work with then nginx configs IMO.

[–] 0spkl@kbin.social 8 points 1 year ago* (last edited 1 year ago)

Cloudflare tunnel free is pretty good, and I use it for my on-prem (in house) services because it can work through CGNAT, though you are subject to the standard cloudflare terms of use.

On the other hand, what you're looking for is called a reverse proxy. I'd recommend Caddy or Nginx Proxy Manager for you.

I personally use Traefik, but I'm also running on a kubernetes cluster so....

[–] 0spkl@kbin.social 1 points 1 year ago

I think vultr is actually cheaper then DO though.

[–] 0spkl@kbin.social 1 points 1 year ago

I've moved to technitium DNS nowadays. I found that it works better for me then AGH.

[–] 0spkl@kbin.social 2 points 1 year ago (1 children)

Actually. Now that I think of it, I should probably diagram that out hmm. Anyone know any good tools for making that?

[–] 0spkl@kbin.social 2 points 1 year ago (1 children)

And seriously, Talos Linux is really, really, nice. If I ever manage to mess up a kubernetes node (which has happened a few times when I was messing around), I just wipe it, reboot it from the ISO, and reprovision it with the machine configuration.

view more: next ›