Would it be possible for me to make comments to other instances etc?

Solved: I can't, it would only work with a public domain.

you are viewing a single comment's thread
view the rest of the comments
[–] 39 points 2 years ago (2 children)

No, ActivityPub is a push protocol. Other instances send data to your instance via HTTPS and only HTTPS. So you need at minimum a public domain and web server with TLS enabled.

Some people use Cloudflare tunnels to avoid opening ports or just get a cheap VPS to forward the traffic home without exposing the home IP.

  • source
  • hideshow 4 child comments
  • [–] 0 points 2 years ago (1 child)

    You do realize all this is easily done with a reverse proxy + DuckDNS?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 2 years ago (2 children)

    Wouldn't you need a publically available IP? DuckDNS is only for dynamic IP's that is public, yes?

  • source
  • parent
  • hideshow 4 child comments
  • [–] 3 points 2 years ago (1 child)

    Works with anything that can open ports. DuckDNS works by pinging their service from anywhere to update the target IP for the subdomain.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 4 points 2 years ago (2 children)

    Doesn't work if you are on CGNAT

  • source
  • parent
  • hideshow 4 child comments
  • [–] 3 points 2 years ago

    Duckdns is pretty much a service that offers free domain names.. that could point to any public IP. (I have seen setups where local IPs are used just for HTTPS). So its good for instances as HTTPS can be achieved without buying domain name.

  • source
  • parent
  • [–] -2 points 2 years ago (2 children)
  • [–] 17 points 2 years ago (1 child)

    Data send via HTTP is not encrypted. That's bad.

  • source
  • parent
  • hideshow 2 child comments
  • [–] -4 points 2 years ago (1 child)

    I want it encrypted but I don't want to ask a 3rd party to get a certificate.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 8 points 2 years ago (1 child)

    Letsencrypt provides free certificates. It's very easy to get one from them.

  • source
  • parent
  • hideshow 2 child comments
  • [–] -4 points 2 years ago (3 children)

    If they're easy to get, why have them 😑

  • source
  • parent
  • hideshow 6 child comments
  • [–] 5 points 2 years ago

    I'm not sure I understand the question. They are used to encrypt traffic and prove that the entity hosting the site hasn't changed by using a digital signature. These two together make it so third parties can't read the traffic coming through. This is a requirement for modern internet. Otherwise your passwords wouldn't be a secret because literally anyone would see them.

  • source
  • parent
  • [–] 7 points 2 years ago* (1 child)

    Plain HTTP should be considered obsolete. Also it makes impersonating websites harder (but not impossible)

  • source
  • parent
  • hideshow 2 child comments
  • [–] 12 points 2 years ago (1 child)

    Additionally, HTTPS if very easy to set up nowadays and the certificates are free^1^.

    ^1^: Assuming you have a public domain name, but for ActivityPub that's already a requirement due to the push nature of the protocol.

  • source
  • parent
  • hideshow 2 child comments