[OCI]wireguard install(ft. docker)# Virtualation/Public Cloud2024. 5. 1. 12:30
Table of Contents
728x90
반응형
docker-compose
version: "3"
services:
wireguard:
image: linuxserver/wireguard
container_name: wireguard
cap_add:
- NET_ADMIN
- SYS_MODULE
environment:
- PUID=1001
- PGID=1001
- TZ=Asis/Seoul
- SERVERPORT=51820 #optional
- PEERS=10 #optional
- PEERDNS=auto #optional
volumes:
- ./config:/config
- /lib/modules:/lib/modules
ports:
- 51820:51820/udp
sysctls:
- net.ipv4.conf.all.src_valid_mark=1
restart: unless-stopped
networks:
default:
external:
name: 'npm'
https://download.wireguard.com/windows-client/
https://www.wireguard.com/install/#installation
https://codebeautify.org/yaml-validator
728x90
반응형
'# Virtualation > Public Cloud' 카테고리의 다른 글
[OCI]portainer install(ft. docker) (0) | 2024.04.30 |
---|---|
[OCI]NPM install(ft. docker) (0) | 2024.04.30 |
[OCI]docker install (0) | 2024.04.30 |
piVPN install(WireGuard) (0) | 2023.03.07 |
[OCI]2단계 인증(2FA, Two-factor authentication) 설정 (0) | 2022.10.24 |
@다크쉐라빔 :: 다크쉐라빔의 주절주절
안녕하세요. 이곳은 IT위주의 잡다한 정보를 올려두는 개인 블로그입니다.
포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!