News for hackers. Stuff that matters.
Re:Apache Guacamole by johncena33 on Saturday December 04, 2021 @01:27PM (#29443023)
Do you need a static ip address for it?
Re:Apache Guacamole by shepherdjerred on Saturday December 04, 2021 @01:31PM (#29443069)
You could always use an IPv6 address, or setup something like Tailscale.
Re:Apache Guacamole by jeroenhd on Saturday December 04, 2021 @01:40PM (#29443159)
As silly and astonishing as it is, I've heard from some (mostly American) ISPs that a static IPv6 subnet is either not available for consumers or costs extra.

Yes, that's right, some ISPs rotate IPv6 subnets, negating many things IPv6 was invented for in the first place.

Tailscale, Nebula or any of the automagical VPN solutions you can run yourself (like Innernet, https://github.com/tonarino/innernet) will probably negate the issue as long as you can reach some server with a static IP.

Re:Apache Guacamole by tinus_hn on Saturday December 04, 2021 @01:58PM (#29443336)
Of course, because if you can use it to offer services, it’s a ‘pro’ connection!
Re:Apache Guacamole by piyh on Saturday December 04, 2021 @08:11PM (#29445892)
Do other people use dynamic DNS services offered by domain registrars? I've use one for years and never have had an issue.
Re:Apache Guacamole by jeroenhd on Saturday December 04, 2021 @08:39PM (#29446025)
I've never needed to. I don't think I've ever been with a non-mobile consumer ISP that rotated IPs enough for it to mayyer. Maybe if I took the modem offline for more than a week or if I move, but that's the only times I've ever had to update the necessary IP addresses.

It's still not a great fix, of course, because DDNS still causes outages while intermediate servers wait for their TTLs to expire and caches to clear, which means your record could point to the wrong IP for at least one minute per switch. That's fine for a mail server, but not great for other applications that don't handle servers dropping from the network so we'll.

Re:Apache Guacamole by FrostKiwi on Saturday December 04, 2021 @01:32PM (#29443080)
DynamicIP + DynDNS works just as fine. Getting DynDNS can be acomplished via many routes.

- Even old routers support at least noip.com and update the IP when it changes

- major DynDNS providers have a custom tool you can install, running in the background sending the current IP every minute or so

- every major registrar has a DNS API, which allows you to send IP updates in a simple CURL command and putting that command into crontab automates this as well.

Re:Apache Guacamole by jeroenhd on Saturday December 04, 2021 @01:36PM (#29443117)
On what side?

The server software can run on any address as long as you don't hardcode the listening IP, just like any other web server. You'd need a way to have the URL point to the right server, of course, so DDNS or similar is a necessity if your server doesn't have a static public IP.

The desktop connections to the machines from Guacamole are tuples of { protocol configuration, hostname/IP, credentials}. If you specify the device Guacamole connects to by its IP and then that IP changes, the connection and configuration will break. You can probably work around that with some kind of dynamic DNS setting, or maybe local name resolution (LLMR and friends) if the machines are on a flat network.

TL;DR you don't need it, but it helps.

Re:Apache Guacamole by matthewaveryusa on Saturday December 04, 2021 @01:36PM (#29443119)
just use tailscale. seriously it’s what you want
Re:Apache Guacamole by dmitrygr on Saturday December 04, 2021 @02:01PM (#29443357)
I use a dyndns thing I host on my VPS