Static Routed /48 to OpenWRT under CGNAT via WireGuard

Just like the title suggests. I want a static routed v6 /48 to my home router via WireGuard.
Here are a few things I have thought:
1. Adding a static route as routing v6 to router wireguard v6
2. Just doing a NAT though I really don't want to do that.

Idea is to make something like Route48.

youtube.com/watch?v=k1BneeJTDcU
All of my VMs: https://nodecheck.net/s/otusibrc/

Comments

  • Talk to @Cloudie before you attempt this endeavor

    Thanked by (2)Otus9051 skorous

    URL Shortener | YetiNode | Come join us on the MetalVPS IRC channel!!! | Don't be a jerk, let YetiNode do the work.

  • edited February 21

    Since you have ASN, it's easy.

    1. Announce the /48 from your BGP VM.
    2. Make WireGuard tunnel from your home router to the BGP VM.
      • BGP VM side: set AllowedIPs= to be the /48.
      • Home router side: set AllowedIPs=::/0 .

    ServerFactory aff best VPS; HostBrr aff best storage.

  • @yoursunny said:
    Since you have ASN, it's easy.

    1. Announce the /48 from your BGP VM.
    2. Make WireGuard tunnel from your home router to the BGP VM.
      • BGP VM side: set AllowedIPs= to be the /48.
      • Home router side: set AllowedIPs=::/0 .

    Do I add the IP to the wg0 dev or my ens3 dev?

    youtube.com/watch?v=k1BneeJTDcU
    All of my VMs: https://nodecheck.net/s/otusibrc/

  • @Otus9051 said:
    Do I add the IP to the wg0 dev or my ens3 dev?

    Neither side needs any address on the WireGuard interface or WAN interface.
    You would need one address from your prefix on the LAN interface of the home router.
    You can assign other addresses within the subnet to your LAN devices.

    ServerFactory aff best VPS; HostBrr aff best storage.

  • @yoursunny said:

    @Otus9051 said:
    Do I add the IP to the wg0 dev or my ens3 dev?

    Neither side needs any address on the WireGuard interface or WAN interface.
    You would need one address from your prefix on the LAN interface of the home router.
    You can assign other addresses within the subnet to your LAN devices.

    This is the way

    The all seeing eye sees everything...

  • @yoursunny said:

    @Otus9051 said:
    Do I add the IP to the wg0 dev or my ens3 dev?

    Neither side needs any address on the WireGuard interface or WAN interface.
    You would need one address from your prefix on the LAN interface of the home router.
    You can assign other addresses within the subnet to your LAN devices.

    Can I just then follow my guide on running Wireguard on OpenWRT (which I wrote for R48)

    youtube.com/watch?v=k1BneeJTDcU
    All of my VMs: https://nodecheck.net/s/otusibrc/

  • @Otus9051 said:

    @yoursunny said:

    @Otus9051 said:
    Do I add the IP to the wg0 dev or my ens3 dev?

    Neither side needs any address on the WireGuard interface or WAN interface.
    You would need one address from your prefix on the LAN interface of the home router.
    You can assign other addresses within the subnet to your LAN devices.

    Can I just then follow my guide on running Wireguard on OpenWRT (which I wrote for R48)

    Apparently not, ugh.

    youtube.com/watch?v=k1BneeJTDcU
    All of my VMs: https://nodecheck.net/s/otusibrc/

  • Managed to kill/OOM my Vultr, ugh.

    youtube.com/watch?v=k1BneeJTDcU
    All of my VMs: https://nodecheck.net/s/otusibrc/

Sign In or Register to comment.