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

Alexandre Aubin 0079d5325c Cleanup legacy in upgrade script il y a 3 ans
.github de4495aea9 [autopatch] Update issue and PR templates il y a 4 ans
conf 76929bacdb We don't need sudoers stuff anymore il y a 3 ans
doc 50c1afce92 [wip] VPN Client revolution il y a 3 ans
scripts 0079d5325c Cleanup legacy in upgrade script il y a 3 ans
CHANGES.md af224825ef Release v1.4.1~ynh1 il y a 5 ans
LICENSE fdb9776079 Add LICENSE il y a 10 ans
README.md 50c1afce92 [wip] VPN Client revolution il y a 3 ans
check_process 50c1afce92 [wip] VPN Client revolution il y a 3 ans
config_panel.toml 1aef643c3d [enh] Wording il y a 3 ans
manifest.json eceb8e8095 [fix) Need 4.3 il y a 3 ans
screenshot.png 6e10eaf689 Update screenshot il y a 9 ans

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 and OVPN file with embeded certificates.
  • Web interface available from the web admin of YunoHost

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"