Skip to content

Instantly share code, notes, and snippets.

View coderua's full-sized avatar
🇺🇦
Stand with Ukraine

Volodymyr Chumak coderua

🇺🇦
Stand with Ukraine
View GitHub Profile
@coderua
coderua / l2tpclient.sh
Last active December 6, 2018 09:37 — forked from danielv99/l2tpclient.sh
L2TP VPN client on Linux Debian
# Requirements
# debian/ubuntu
apt-get -y update && apt-get -y upgrade
apt-get -y install strongswan xl2tpd libstrongswan-standard-plugins libstrongswan-extra-plugins
# Setup variables for L2TP connestion
VPN_SERVER_IP=''
VPN_IPSEC_PSK=''
VPN_USER=''
#!/bin/bash
#
# Automate mysql secure installation for debian-baed systems
#
# - You can set a password for root accounts.
# - You can remove root accounts that are accessible from outside the local host.
# - You can remove anonymous-user accounts.
# - You can remove the test database (which by default can be accessed by all users, even anonymous users),
# and privileges that permit anyone to access databases with names that start with test_.