howto/vyos1.4.x.md
... ...
@@ -120,10 +120,9 @@ set interfaces wireguard wg1234 private-key 'SOoPQdMdmXE3ssp0/vwwoIMhQqvcQls+DhD
120 120
# One of your DN42 IPv4 addresses (not really needed if you'll enable extended next-hop)
121 121
set interfaces wireguard wg1234 address '172.20.20.1/32'
122 122
123
-# An arbitrary link-local IPv6 address
123
+# An arbitrary link-local IPv6 address (that you'll have to tell to your peer)
124 124
set interfaces wireguard wg1234 address 'fe80::1234/128'
125 125
126
-
127 126
set interfaces wireguard wg1234 peer location1 address '<clearnet ipv6 or ipv4 address of your peer wireguard endpoint>'
128 127
set interfaces wireguard wg1234 peer location1 port '<wireguard endpoint port of your peer>'
129 128
... ...
@@ -173,14 +172,15 @@ set protocols bgp neighbor fe80::1234 address-family ipv6-unicast
173 172
```
174 173
#### Option 2: BGP (no Multi Protocol) - no Extended Next-Hop
175 174
```
176
-# First we need to add a static ipv4 route to our peer tunneled ipv4 address
177
-set protocols static route 172.20.x.y interface wg1234
178
-
175
+# First, we set the ipv6 part.
179 176
set protocols bgp neighbor fe80::1234 interface remote-as '<your peer ASN>'
180 177
set protocols bgp neighbor fe80::1234 interface source-interface 'wg1234'
181 178
set protocols bgp neighbor fe80::1234 remote-as '<your peer ASN>'
182 179
set protocols bgp neighbor fe80::1234 address-family ipv6-unicast
183 180
181
+# For the ipv4 part we need to add first a static ipv4 route to our peer tunneled ipv4 address
182
+set protocols static route 172.20.x.y interface wg1234
183
+
184 184
# 172.20.x.y is your peer tunneled IPv4
185 185
set protocols bgp neighbor 172.20.x.y remote-as '<your peer ASN>'
186 186
set protocols bgp neighbor 172.20.x.y address-family ipv4-unicast
... ...
@@ -298,7 +298,7 @@ set protocols bgp neighbor x.x.x.x address-family ipv6-unicast route-map import
298 298
## Credits
299 299
This How-To has to be considered a work-in-progress by **Matwolf**.
300 300
301
-It's based on the original VyOS How-To made by **Owens Research**: [How-To/VyOS](howto/vyos).
301
+It's based on the original VyOS How-To made by **Owens Research**: [How-To/VyOS](/howto/vyos).
302 302
303 303
The commands in this page have been adapted to be compatible with the new version of VyOS 1.4.x (sagitta) and to include configurations for IPv6 (MP-BGP over link-local and extended next-hop).
304 304