GGAMI.NET

Asustor WireGuard 피어 추가하기

1.WireGuard 클라이언트 (iOS) 에서 keypair 생성

  • 비밀키 : [Interface].PrivateKey 에 넣기
  • 공개키 : {와이어가드 피어 -> 피어 편집 -> 공개키에 넣기}

2.WireGuard 서버 피어 생성

  • 공개키란에 (1)클라이언트에서 생성한 공개키 넣기
  • 사전 공유 키 생성 하기

3.{wireguard}.conf 만들기

[Interface] PrivateKey = {(1)에서 만든 비밀키} ListenPort = 51820 Address = 10.0.4.3/32 DNS = 8.8.8.8 [Peer] PublicKey = {VPN SERVER - 설정 - WireGuard 공개키} PresharedKey = {(2)에서 만든 사전 공유 키} AllowedIPs = 0.0.0.0/0 Endpoint = {아이피}:51820 PersistentKeepalive = 25

다른 글