Skip to content

Instantly share code, notes, and snippets.

View zeyadco's full-sized avatar

ZAK zeyadco

  • ZeyadCo
  • dubai
View GitHub Profile
@zeyadco
zeyadco / ubuntu_enable_bbr.sh
Created November 24, 2019 08:51 — forked from Jamesits/ubuntu_enable_bbr.sh
Ubuntu enable BBR
#!/bin/bash
set -eu
SYSCTL_FILE=/etc/sysctl.d/90-tcp-bbr.conf
# check root
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
@zeyadco
zeyadco / install_vpn.sh
Created August 31, 2019 15:14 — forked from lorepozo/install_vpn.sh
automatically install and configure a VPN server — IKEv2 over IPsec
#!/bin/bash
# install_vpn.sh
# automatically install and configure a VPN -- IKEv2 over IPsec
# using strongswan and iptables
# Author: Lucas E Morales <lucas@lucasem.com>
#
# tested on Ubuntu 16.04 and arch 2018-07
#
# huge thanks to Namo's tutorial:
# https://www.digitalocean.com/community/tutorials/how-to-set-up-an-ikev2-vpn-server-with-strongswan-on-ubuntu-16-04