Skip to content

Instantly share code, notes, and snippets.

View Depth-monster's full-sized avatar
🎯
Focusing

Azat Hajyyev Depth-monster

🎯
Focusing
View GitHub Profile
@Depth-monster
Depth-monster / openvpn-setup.sh
Created July 27, 2024 20:35 — forked from XMB5/openvpn-setup.sh
Easy automatic OpenVPN setup for Ubuntu Server
#!/bin/bash
#easy openvpn server setup for ubuntu
read -p "port (1-65535): " PORT
read -p "protocol (udp or tcp): " PROTOCOL
read -p "encrypt (y or n): " ENCRYPT
read -p "hmac (y or n): " HMAC
read -p "xor scramble (y or n): " SCRAMBLE
read -p "compress (y or n): " COMPRESS_YN
read -p "network number (0-255): " NETWORK_NUM