I’ve set up subnet routing via Tailscale from my Oracle VPS to my home RPi4. The VPS has a static IPv4 and a /64 IPv6 allocation. I use the VPS to reverse traffic apps on the raspberry using nginx. I would like to take one step forward by tunneling v6 traffic from my home network to WAN, so every client gets its own IPv6 address. What’s the best way to tunnel IPv6 traffic from my home network through the RPi4 to the Oracle VPS? I’m also comfortable with messing up my Asus AC86U router to provide publicly routable IPv6 addresses to all clients via DHCP.

  • Natanael@slrpnk.net
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    13 hours ago

    You need to set up a publicly accessible device (in this case the VPS) as your IPv6 gateway

    So you set up your VPN connecting your network to the VPS (should probably be set up from the router) and set your router to advertise an IP adress for the VPS which is routable from your local network as the gateway address (and should probably also run DHCPv6 for your network)

    (note, I have not set up this stuff myself so I can’t help with implementation details)

    • hempster@lemm.eeOP
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      12 hours ago

      How do I make the VPS as a gateway device? I see that I can do a static route, but IPv6 gateway is something im unable to understand