Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/essandess/macos-openvpn-server
macOS OpenVPN Server and Client Configuration (OpenVPN, Tunnelblick, PF)
https://github.com/essandess/macos-openvpn-server
ad-blocker macos privacy privacy-enhancing-technologies proxy proxy-server vpn vpn-server
Last synced: 23 days ago
JSON representation
macOS OpenVPN Server and Client Configuration (OpenVPN, Tunnelblick, PF)
- Host: GitHub
- URL: https://github.com/essandess/macos-openvpn-server
- Owner: essandess
- License: mit
- Created: 2014-12-24T00:34:27.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-11-23T15:19:08.000Z (about 2 years ago)
- Last Synced: 2024-08-05T09:14:57.900Z (4 months ago)
- Topics: ad-blocker, macos, privacy, privacy-enhancing-technologies, proxy, proxy-server, vpn, vpn-server
- Language: Shell
- Homepage:
- Size: 508 KB
- Stars: 211
- Watchers: 17
- Forks: 55
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-network-stuff - **143**星
README
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](../../../../Tunnelblick/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](images/OpenVPN_iPad.PNG)
## Installation and Configuration Notes
* Configuration for `openvpn` version 2.5 and [easy-rsa](../../../../OpenVPN/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](https://en.wikipedia.org/wiki/Curve25519) 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](../../../osxfortress) on the server
* Privatizing [Proxy Configuration](../../../osxfortress) for all mobile client devices
* Mobile device networking through PF firewall security
* Tracker blocking
* Ad blocking
* Malware blocking## [Tunnelblick](../../../../Tunnelblick/Tunnelblick) Configuration
Configure [Tunnelblick](../../../../Tunnelblick/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](../../../../Tunnelblick/Tunnelblick) Settings | Advanced… |
:------------------------------------------------------------:|:-------------------------:
![Tunnelblick Settings](images/Tunnelblick%20Settings.png)|![Tunnelblick Advanced Settings](images/Tunnelblick%20Advanced%20Settings.png)