Skip to content

macntech/winstart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

🖥️ Winstart

This is a simple bash file to automatically connect to an OpenVPN server and mount shared drives. This little script could be used in company or private environment to simplify the startup.

✨ How it works

You can define as many mount points as you like by using the array provided under NAS Drives. The script will check in several ping routines if the internal host is available and if yes, it will mount the drives or if not, connect to VPN first. In this way you can use the script at home / office AND remote. Have fun!

Sample

🔧 Configuration

You need to configure the following things to make the script work

  • Install OpenVPN GUI (Community Edition) and install profile
  • Setup SMB / share user with access to requested drives/folders (password without special characters)
  • Set Variables in the script to match your confirguration

💎 Credits

The script uses the ANSI snippet from mlocati to make the terminal more colorful 🌈. Thanks for that.

About

A simple bash start script to connect VPN and shared drives

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors