Wireguard » History » Version 2
Willy Manga, 03/29/2025 07:30 AM
| 1 | 1 | Willy Manga | h1. Wireguard |
|---|---|---|---|
| 2 | |||
| 3 | h2. OpenBSD considerations |
||
| 4 | |||
| 5 | 2 | Willy Manga | Random notes |
| 6 | |||
| 7 | 1 | Willy Manga | Create an interface with a remonte endpoint. |
| 8 | <pre><code class="shell"> |
||
| 9 | 2 | Willy Manga | rr02# ifconfig wg1 create wgport 7896 wgkey `openssl rand -base64 32` |
| 10 | |||
| 11 | PUB1="`ifconfig wg1 | grep 'wgpubkey' | cut -d ' ' -f 2`" |
||
| 12 | |||
| 13 | rr02# ifconfig wg1 wgpeer RXzLLWRFsrvBWoH2dHgpGx2jDmq4E1E57R3A/JYTNAU= wgendpoint rr01.abi.ci.tech.stdigital.network 7964 |
||
| 14 | rr02# ifconfig wg1 inet6 2c0f:4e00:87f0:981a:0000:0000:0000:0deb/127 |
||
| 15 | rr02# ifconfig wg1 wgpeer RXzLLWRFsrvBWoH2dHgpGx2jDmq4E1E57R3A/JYTNAU= wgaip 2c0f:4e00:87f0:981a::/64 |
||
| 16 | 1 | Willy Manga | </code></pre> |