mirror of
https://github.com/vyos/vyos-documentation.git
synced 2025-11-03 04:12:03 +01:00
autotest: Wireguard update version to 1.3.5
This commit is contained in:
parent
f1f925d10c
commit
8327846c1f
File diff suppressed because one or more lines are too long
@ -3,9 +3,9 @@ Wireguard
|
||||
#########
|
||||
|
||||
|
||||
| Testdate: 2023-06-07
|
||||
| Version: 1.3.3
|
||||
| Upgrade Version: 1.4-rolling-202306070317
|
||||
| Testdate: 2023-12-28
|
||||
| Version: 1.3.5
|
||||
| Upgrade Version: 1.5-rolling-202312261220
|
||||
|
||||
|
||||
This simple structure show how to connect two offices. One remote branch and the
|
||||
@ -47,7 +47,7 @@ After this, the public key can be displayed, to save for later.
|
||||
|
||||
vyos@central:~$ generate wireguard default-keypair
|
||||
vyos@central:~$ show wireguard keypairs pubkey default
|
||||
s35+/Ocmnss0F+4fHP7pgF5oBf6MSN2VHUWSVNtkeTc=
|
||||
3VjawuSrQ6quMS4HDWjJw8UnPXMB+7x2B31YihThXio=
|
||||
|
||||
|
||||
After you have each public key. The wireguard interfaces can be setup.
|
||||
@ -103,11 +103,11 @@ And ping the Branch PC from your central router to check the response.
|
||||
|
||||
vyos@central:~$ ping 10.0.2.100 count 4
|
||||
PING 10.0.2.100 (10.0.2.100) 56(84) bytes of data.
|
||||
64 bytes from 10.0.2.100: icmp_seq=1 ttl=63 time=0.502 ms
|
||||
64 bytes from 10.0.2.100: icmp_seq=2 ttl=63 time=0.937 ms
|
||||
64 bytes from 10.0.2.100: icmp_seq=3 ttl=63 time=0.867 ms
|
||||
64 bytes from 10.0.2.100: icmp_seq=4 ttl=63 time=1.15 ms
|
||||
64 bytes from 10.0.2.100: icmp_seq=1 ttl=63 time=0.605 ms
|
||||
64 bytes from 10.0.2.100: icmp_seq=2 ttl=63 time=0.816 ms
|
||||
64 bytes from 10.0.2.100: icmp_seq=3 ttl=63 time=0.840 ms
|
||||
64 bytes from 10.0.2.100: icmp_seq=4 ttl=63 time=0.932 ms
|
||||
|
||||
--- 10.0.2.100 ping statistics ---
|
||||
4 packets transmitted, 4 received, 0% packet loss, time 35ms
|
||||
rtt min/avg/max/mdev = 0.502/0.865/1.154/0.234 ms
|
||||
4 packets transmitted, 4 received, 0% packet loss, time 48ms
|
||||
rtt min/avg/max/mdev = 0.605/0.798/0.932/0.121 ms
|
||||
|
||||
@ -7,7 +7,7 @@ set interfaces wireguard wg01 peer central allowed-ips 10.0.1.0/24
|
||||
set interfaces wireguard wg01 peer central allowed-ips 192.168.0.0/24
|
||||
set interfaces wireguard wg01 peer central address 198.51.100.1
|
||||
set interfaces wireguard wg01 peer central port 51820
|
||||
set interfaces wireguard wg01 peer central pubkey "s35+/Ocmnss0F+4fHP7pgF5oBf6MSN2VHUWSVNtkeTc="
|
||||
set interfaces wireguard wg01 peer central pubkey "3VjawuSrQ6quMS4HDWjJw8UnPXMB+7x2B31YihThXio="
|
||||
set interfaces wireguard wg01 port 51820
|
||||
|
||||
set protocols static interface-route 10.0.1.0/24 next-hop-interface wg01
|
||||
@ -7,7 +7,7 @@ set interfaces wireguard wg01 peer branch allowed-ips 10.0.2.0/24
|
||||
set interfaces wireguard wg01 peer branch allowed-ips 192.168.0.0/24
|
||||
set interfaces wireguard wg01 peer branch address 198.51.100.2
|
||||
set interfaces wireguard wg01 peer branch port 51820
|
||||
set interfaces wireguard wg01 peer branch pubkey "WVQtVWxbz3f9Qv2q8t13+PL0MK+axg01hMuyZdqligw="
|
||||
set interfaces wireguard wg01 peer branch pubkey "mV384TUZYv3V3vWaqGcAXZE++1WHGjpAA1+nkFtH9xE="
|
||||
set interfaces wireguard wg01 port 51820
|
||||
|
||||
set protocols static interface-route 10.0.2.0/24 next-hop-interface wg01
|
||||
Loading…
x
Reference in New Issue
Block a user