<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Wireguard on</title><link>https://coolbeevip.github.io/tags/wireguard/</link><description>Recent content in Wireguard on</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Fri, 26 Jun 2026 00:24:14 +0800</lastBuildDate><atom:link href="https://coolbeevip.github.io/tags/wireguard/index.xml" rel="self" type="application/rss+xml"/><item><title>在 AWS 上搭建 WireGuard 并在 macOS 上连接</title><link>https://coolbeevip.github.io/posts/vpn/aws-wireguard-macos/</link><pubDate>Fri, 26 Jun 2026 00:24:14 +0800</pubDate><guid>https://coolbeevip.github.io/posts/vpn/aws-wireguard-macos/</guid><description>本文记录如何在 Amazon Lightsail 上搭建 WireGuard VPN，并使用 macOS 客户端连接。示例使用 Debian 13 (Trixie)，VPN 网段使用 10.66.66.0/24，WireGuard 监听 UDP 58222。
适用场景 需要一个轻量、配置简单的个人 VPN 使用 Amazon Lightsail VPS 作为公网入口 macOS 通过 WireGuard 官方客户端连接 希望所有流量都走 VPN，或者只让指定网段走 VPN 一、Lightsail 准备 1. 创建 Lightsail 实例 建议配置：
项目 建议值 Platform Linux/Unix Blueprint Debian 13 (Trixie) Plan 1 GB 内存以上 Storage 8 GB 以上 Public IP 建议绑定 Lightsail Static IP 如果只是个人使用，最低配通常已经足够。建议创建后立即绑定 Static IP，避免实例 stop/start 后公网 IP 变化。
2. 配置 Lightsail 防火墙 在 Lightsail 实例页面进入：</description></item></channel></rss>