Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools


wireguard_apu_ubuntu

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
wireguard_apu_ubuntu [2019/02/24 16:56] adminwireguard_apu_ubuntu [2019/02/24 18:21] admin
Line 48: Line 48:
  
 WGINT=$1 WGINT=$1
-OUTINT=enp2s0+OUTINT=enp1s0
 ACTION=$2 ACTION=$2
  
Line 96: Line 96:
 qrencode -t ansiutf8 < wg-client1.conf</code> qrencode -t ansiutf8 < wg-client1.conf</code>
   * Add peer to server:<code>   * Add peer to server:<code>
-wg set wg0 peer $(cat publickey-${CLIENT}) allowed-ips 192.168.2.0/24+wg set wg0 peer $(cat publickey-${CLIENT}) allowed-ips 192.168.2.2/32
 </code> </code>
  
 {{tag>[wireguard vpn apu apu1 apu2 Ubuntu linux ]}} {{tag>[wireguard vpn apu apu1 apu2 Ubuntu linux ]}}
wireguard_apu_ubuntu.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1