Skip to content

Neurofibromin/sswg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sswg

server setup with graphical user interface

Current status

Not under active development. There are so many good alternatives available.

alternatives

CasaOS
openmediavault
TrueNAS Core

Usage

run with:

sudo bash main.sh

Supported OS:

apt required, so:
Ubuntu, Debian, Armbian

working features:

whiptail for easy interaction
veracrypt volume creation
LUKS volume creation
persistent mounting of partition
partition formatting
dotfile generation
samba setup
urbackup server install and initial setup
NextCloud setup and apache settings configuration
certbot integration (with some manual intervention)
openvpn server setup and client creation

limitations:

chosen disk must not be already in fstab
is not autostarted, startup.sh must be run at every startup
only routed vpn (not bridged)
veracrypt container can't be ntfs (you want btrfs anyway)
ipv6 forwarding has to be blocked manually
the certbot certificates aren't renewed

bugs:

as script is run as sudo, the /root/.config has the dotfiles... also the smb user added is root.
openvpn sed iptables doesn't work
openvpn process stops after a while? use symbolic links

features to add:

automate urbackup config
check for sensitive data
check armbian net.ipv4.ip_forward=1
set certificate best before length for openvpn clients

global/local variables in functions
implement other OS apart from ubuntu/debian

base64 enc?:
openssl base64 < sound.m4a
and then in the script:

    S=<<SOUND
    YOURBASE64GOESHERE
    SOUND
    echo $S | openssl base64 -d | play

sed startup.sh no such file or directory (openvpn end)
cryptsetup volumecreation asks for password in console
veracrypt install console

sources:

https://github.com/StarshipEngineer/OpenVPN-Setup/
https://github.com/OpenVPN/easy-rsa
https://pivpn.io/

About

server setup with graphical user interface

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages