DN42 Peering info

I have an old laptop repurposed as a BGP router as AS4242422596. Currently I have an open peering policy.

I only accept wireguard for tunelling. My endpoint has a residential IP so expect it to change over time (you can use a cronjob to deal with this)

* * * * * wg set dn42-ty3r0x peer "{peer public key}" endpoint "{peer wg endpoint}"

Multiprotocol BGP and Extended Next-Hop are supported and are used by default. I use both IPv6 Link-Local and DN42 IPv4 when establishing a tunnel, the latter being used for pinging, debugging, etc. That's simply how I'm used to establish tunnels.

Speaking of link local addreses, one thing to point out is that I'm not using a /64, instead on my side I assign two link local /128, one that is mine and one that is yours.

Contact me at ty3r0x[at]disroot[dot]org, ty3r0x_@hackint or ty3r0x@chaox.ro to get my public key, endpoint and port

So in summary here is an example config. I use systemd-networkd as reference:

ty3r0x.netdev

[NetDev]
Name=dn42-ty3r0x
Kind=wireguard

[WireGuard]
PrivateKey={your private key)
ListenPort={your listening port}

[WireGuardPeer]
PublicKey={given at request}
Endpoint={given at request}
AllowedIPs=fe80::/64
AllowedIPs=fd00::/8
AllowedIPs=0.0.0.0/0

ty3r0x.network

[Match]
Name=dn42-ty3r0x

[Network]
DHCP=no
IPv6AcceptRA=false
IPForward=yes
KeepConfiguration=yes


[DHCP]
CriticalConnection=true

# if using IPv6 point to point
[Address]
Address={your link local ipv6}/128
Peer=fe80::2596/128

# IPv4 point to point
[Address]
Address={your dn42 ipv4}/32
Peer= 172.22.69.1/32
            

Route propagation