Skip to content
项目

essandess/macos-openvpn-server

在 GitHub 查看

关于

macOS OpenVPN Server and Client Configuration (OpenVPN, Tunnelblick, PF)

系统与基础设施

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

macos-openvpn-server

macOS OpenVPN Server and Client Configuration

This repo describes how to build an OpenVPN VPN server on macOS using pfctl and Tunnelblick.

This configuration provides a TLS-based VPN server using EC ed25519 certificates and UDP port 443, accessible by any OpenVPN client, especially iOS with the OpenVPN app.

OpenVPN iPad

Installation and Configuration Notes

  • Configuration for openvpn version 2.5 and easy-rsa version 3
  • Presumes latest macOS versions that use editable /etc/sysctl.conf to set:
net.inet.ip.forwarding=1
net.inet6.ip6.forwarding=1

This is known to work for macOS 11+. See previous versions of this repo for a launchctl-based approach

  • Uses Edwards curve ed25519 EC-based PKI for very fast VPN connections with 128-bit security

VPN Configuration Advantages

This OpenVPN configuration provides the following advantages:

  • Secure VPN networking for all mobile clients
  • Secure, certificate-based VPN
  • PF-based firewall security on the server
  • Privatizing Proxy Configuration for all mobile client devices
    • Mobile device networking through PF firewall security
    • Tracker blocking
    • Ad blocking
    • Malware blocking

Tunnelblick Configuration

Configure Tunnelblick settings so that the server connection persists over macOS Fast User Switching. Failure to do this is observed to cause routing problems beyond OpenVPN server accessibility. Use the recommended standard and advanced settings:

Tunnelblick Settings Advanced…
Tunnelblick Settings Tunnelblick Advanced Settings

探索相关项目

加载中…