全文検索:
- 06 WireGuard
- 0.conf [Interface] Address = 10.0.1.1/24 #wg0に付けるIP ListenPort = 51820 PrivateKey = ${SERVER_privkey}... ared の値 AllowedIPs = 10.0.1.2/32 #client01に割り当てるIP [Peer] # client02 PublicKey = BBBBBBBBBBBBBBBBBB... ared の値 AllowedIPs = 10.0.1.3/32 #client02に割り当てるIP __EOM__ </code> ===== 4.起動 ===== これでwg0が作成されます... <code> # wg-quick up /etc/wireguard/wg0.conf # ip -4 a 3: wg0: <POINTOPOINT,NOARP,UP,LOWER_UP> mtu