this post was submitted on 30 Sep 2024
20 points (95.5% liked)

Selfhosted

40394 readers
473 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

Recently I bought vps which have only ipv6. It's obviously that I don't have ipv6 home. So, here is question: how do you interact with such servers?

you are viewing a single comment's thread
view the rest of the comments
[–] axzxc1236@lemm.ee 3 points 1 month ago (6 children)

Great, if you need to SSH into Ipv6 only machine, SSH has -J flag which can be used to specify "jump host" (basically run SSH through SSH)

[–] someoneFromInternet@lemmy.ml 1 points 1 month ago (5 children)

what if I want to host something on it? I need reverse proxy?

[–] axzxc1236@lemm.ee 3 points 1 month ago* (last edited 1 month ago) (4 children)

Host a website that needs to be accessible from your own machine or public?

Former situation: Can be solved by setup reverse proxy on the other VPS, or join machines to a VPN server (like tailscale,, Zertoier or Wireguard server)

Later situation: Cloudflare or other CDN, setup reverse proxy on the other VPS.

Less accessible option but available for public: Tor or I2P

[–] someoneFromInternet@lemmy.ml 1 points 1 month ago (1 children)

here is problem: I don't know how to set up wireguard and can't find any good guides

[–] axzxc1236@lemm.ee 2 points 1 month ago* (last edited 1 month ago) (1 children)

Personally have good experience with https://github.com/Nyr/wireguard-install, there are other script that are available by searching "wireguard setup script github".

Note: By default Wireguard config generated will route every bit of traffic through Wireguard (which will be slower and probably not wanted in this situation), to change that change AllowedIPs field in Wireguard config, lets say all your machines are assigned 1.2.3.xxx as IP address, to only access other 1.2.3.xxx IP through wireguard, change the config to AllowedIPs = 1.2.3.0/24.

[–] someoneFromInternet@lemmy.ml 1 points 1 month ago (1 children)

I just have to connect to my server with ipv6 through wireguard to get access to ipv6 on my client?

[–] axzxc1236@lemm.ee 2 points 1 month ago

You setup Wireguard server on the VPS with both IPv4 and IPv6. Then you connect both your computer and IPv6-only server to the Wireguard server. After connection, you can connect to the VPN through IP address assigned by wireguard.

load more comments (2 replies)
load more comments (2 replies)
load more comments (2 replies)