Project

General

Profile

Wireguard » History » Revision 2

Revision 1 (Willy Manga, 03/26/2025 01:12 AM) → Revision 2/3 (Willy Manga, 03/29/2025 07:30 AM)

h1. Wireguard 

 h2. OpenBSD considerations 

 Random notes 

 Create an interface with a remonte endpoint. 
 <pre><code class="shell"> 
 rr02# ifconfig wg1 create wgport 7896 7964 wgkey `openssl rand -base64 32`  

 PUB1="`ifconfig wg1 | grep 'wgpubkey' | cut -d ' ' -f 2`" 

 rr02# ifconfig wg1 wgpeer RXzLLWRFsrvBWoH2dHgpGx2jDmq4E1E57R3A/JYTNAU=    gg+YOXR6kUdYqMjptss1JpabvuUMy0Mpx+56bQe00EY= wgendpoint rr01.abi.ci.tech.stdigital.network 7964  
 rr02# ifconfig wg1 inet6 2c0f:4e00:87f0:981a:0000:0000:0000:0deb/127                                                                                                                                        
 rr02# ifconfig wg1 wgpeer RXzLLWRFsrvBWoH2dHgpGx2jDmq4E1E57R3A/JYTNAU=    wgaip 2c0f:4e00:87f0:981a::/64  
 7896 
 </code></pre>