Skip to contentSkip to conversation

Wireguard on EdgeRouter and using specified VRF and/or routing table

DISCUSSION Skyler Mäntysaari 3 participants 3 messages Mar 14, 2021 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi,

Could somone help me with this? Last I sent this, I got no replies.

Quoted 10 lines · Skyler Mäntysaari

Hi there,

I have a use case where I'm running Bird (BGP daemon) on a EdgeRouter, and then having PTP links via Wireguard for the BGP sessions but I need some help on how to set the wireguard interface to use specified routing table and/or vrf?

I want it to use kernel routing table 1 aswell as specific VRF, and I have set the "route-allowed-ips" to false, as I don't want it to generate it's own routing table.

For reference: Kernel version is 4.9.79.

Best regards,
Skyler Mäntysaari

#2 lore raw

I think to get a better response you should post this on the edgerouter support forums. Mainly as the implementation on edgeOS has its own nuances, it also sounds like you need some specific routing advice.

Good luck!

Quoted 21 lines · Skyler Mäntysaari

Hi,

Could somone help me with this? Last I sent this, I got no replies.

Quoted 15 lines · Skyler Mäntysaari

Hi there,

I have a use case where I'm running Bird (BGP daemon) on a EdgeRouter, and then having PTP links via Wireguard for the BGP sessions but I need some help on how to set the wireguard interface to use specified routing table and/or vrf?

I want it to use kernel routing table 1 aswell as specific VRF, and I have set the "route-allowed-ips" to false, as I don't want it to generate it's own routing table.

For reference: Kernel version is 4.9.79.

Best regards,
Skyler Mäntysaari

Signature · 6 lines
Use this contact page to send me encrypted messages and files

https://flowcrypt.com/me/phillipmcmahon

P.S. Drowning in email? Try SaneBox and take back control:
http://sanebox.com/t/old3m. I love it.
#3 lore raw
In reply to Skyler Mäntysaari

Wireguard only creates the interface, as far as I know.

you will need to control the VRF the WG interface belongs to with external tooling not directly related being e.g. wg-quick. (e.g. systemd or similar)

Quoted 13 lines · Skyler Mäntysaari

Could somone help me with this? Last I sent this, I got no replies.

Quoted 10 lines · Skyler Mäntysaari

I have a use case where I'm running Bird (BGP daemon) on a EdgeRouter, and then having PTP links via Wireguard for the BGP sessions but I need some help on how to set the wireguard interface to use specified routing table and/or vrf?

I want it to use kernel routing table 1 aswell as specific VRF, and I have set the "route-allowed-ips" to false, as I don't want it to generate it's own routing table.

For reference: Kernel version is 4.9.79.

Signature · 1 line
Chriztoffer