목차

, , , , , ,

WireGuard

WireGuard는 UDP 위에서 동작하는 간결한 VPN tunnel protocol이자 tunnel interface 기술이다. wireguard라는 이름의 공통 CLI command가 있는 것은 아니며, command-line 관리는 주로 wireguard-toolswgwg-quick을 사용한다.

Summary

명령 예시에서 executable 이름으로 wireguard를 사용하지 않는다. 제품·protocol 문서는 이 페이지에 두고, 실제 명령의 syntax와 option은 각각의 command page에서 관리한다.

Components

구성 요소 역할 문서
WireGuard protocol/interface encrypted tunnel과 peer model 현재 페이지
wg WireGuard 전용 runtime configuration과 상태 조회 wg
wg-quick 일반적인 interface lifecycle, address, route, DNS 보조 wg-quick
configuration file [Interface], [Peer] 및 helper 확장 설정 WireGuard configuration

Linux에서는 interface 자체를 ip link로 만들고 address와 route를 ip address·ip route로 관리할 수 있다. wg-quick은 흔한 구성을 단순화하는 wrapper이며 복잡한 network policy에서는 NetworkManager 같은 별도 manager를 사용할 수 있다.

Installation

설치 package는 운영체제에 따라 kernel support, CLI tools, GUI client를 함께 또는 따로 제공한다. 실제 command 설치 절차와 확인 방법은 wg Installation을 참고한다.

Operation Model

SSH session이 사용하는 default route나 source address를 WireGuard로 바꾸면 원격 연결이 즉시 끊길 수 있다. full tunnel 설정을 적용하기 전에 console 또는 out-of-band 복구 경로와 rollback 절차를 준비한다.

Compatibility

See Also

History