Skip to content

Instantly share code, notes, and snippets.

@devlifeX
Last active May 6, 2021 08:06
Show Gist options
  • Save devlifeX/8fbe96683e4f45dafb65f82257fc4d3a to your computer and use it in GitHub Desktop.
Save devlifeX/8fbe96683e4f45dafb65f82257fc4d3a to your computer and use it in GitHub Desktop.
RaspAP Instrcutions

Follow this repo installation:

Just download Raspberry Pi OS Lite 32Bit
https://www.raspberrypi.org/software/operating-systems/#raspberry-pi-os-32-bit

Download & Install etcher for OS Flash
https://www.balena.io/etcher/

https://github.com/RaspAP/raspap-webgui

enable "net.ipv4.ip_forward=1"

sudo vim /etc/sysctl.conf

Add these lines to end of ovpn file configration

script-security 2  
up /etc/openvpn/update-resolv-conf  
down /etc/openvpn/update-resolv-conf  

openvpn server setup

use this to generate user nopass
export CLIENTNAME="rasp"
docker-compose run --rm openvpn easyrsa build-client-full $CLIENTNAME nopass
docker-compose run --rm openvpn ovpn_getclient $CLIENTNAME > $CLIENTNAME.ovpn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment