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

ljf (zamentur) 6900a29cdf [enh] Documentation about lxc 4 years ago
conf 22c793defc change for a best way of verifying if authentication is successful (check if a http header is set instead of looking into web page content) 5 years ago
scripts efee70b606 Fix upgrade 6 years ago
sources 6f71831614 updating script to new standards 6 years ago
CHANGES.md 06c83007d0 Bump to version 1.4.1 5 years ago
LICENSE fdb9776079 Add LICENSE 10 years ago
README.md 6900a29cdf [enh] Documentation about lxc 4 years ago
check_process efee70b606 Fix upgrade 6 years ago
manifest.json 06c83007d0 Bump to version 1.4.1 5 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"