Yunohost VPN app https://github.com/labriqueinternet/vpnclient_ynh

Yunohost-Bot de4495aea9 [autopatch] Update issue and PR templates 3 years ago
.github de4495aea9 [autopatch] Update issue and PR templates 3 years ago
conf cae24bd9c8 Add test that user certificate is still valid when starting VPN 4 years ago
scripts 0d2a6b1d9a Hmpf 4 years ago
sources 6f71831614 updating script to new standards 6 years ago
CHANGES.md af224825ef Release v1.4.1~ynh1 4 years ago
LICENSE fdb9776079 Add LICENSE 10 years ago
README.md 134f77b6d5 Set PHP to 7.3 4 years ago
check_process 6ea21e96af Obsolete levels stuff in check_process 4 years ago
manifest.json 376b7935b9 Require Yunohost >= 4.0 because PHP7.3 4 years ago
screenshot.png 6e10eaf689 Update screenshot 9 years ago

README.md

VPN Client

Build Status Integration level
Install LaBriqueInterNet VPNclient with YunoHost

This YunoHost app is a part of the "La Brique Internet" project but can be used independently.

Overview

VPN Client app for YunoHost.

  • Install a VPN connection on your self-hosted server.
  • Useful for hosting your server behind a filtered (and/or non-neutral) internet access.
  • Useful to have static IP addresses (IPv6 and IPv4).
  • Useful to easily move your server anywhere.
  • With the Hotspot app for YunoHost, you can broadcast your VPN access by wifi to use a clean internet connection (depending on your VPN provider) on your laptop (or those of your friends) without having to configure it.

Features

  • Authentication based on certificates or login (or both), with or without shared-secret (ta.key)
  • IPv6 compliant (with a delegated prefix)
  • Set an IPv6 from your delegated prefix (prefix::42) on the server, to use for the AAAA records
  • Use native IPv6 if available for creating the tunnel
  • Port selection, with UDP or TCP
  • Set DNS resolvers on the host
  • Strong firewalling (internet access and self-hosted services only available through the VPN)
  • Advanced mode for editing the default OpenVPN configuration
  • Auto-configuration mode, with dot cube files
  • Web interface

Screenshot

Screenshot of the web interface

Running vpnclient inside lxc

If you want to run openvpn inside lxc, you should add this to your container:

lxc.hook.autodev = sh -c "modprobe tun"
lxc.mount.entry=/dev/net/tun dev/net/tun none bind,create=file
lxc.hook.autodev = sh -c "chmod 0666 dev/net/tun"