Skip to content

Instantly share code, notes, and snippets.

View lamductan's full-sized avatar

Tan Lam lamductan

  • Dallas, TX, USA
View GitHub Profile
@lamductan
lamductan / python-3.6.3-custom-static-openssl.patch
Last active November 7, 2019 19:19 — forked from rkitover/python-3.6.3-custom-static-openssl.patch
Patch for Python 3.6.3 to use a custom static OpenSSL
diff -ruN Python-3.6.3.orig/setup.py Python-3.6.3.new/setup.py
--- Python-3.6.3.orig/setup.py 2019-11-08 02:10:57.439748845 +0700
+++ Python-3.6.3.new/setup.py 2019-11-08 02:03:05.114227743 +0700
@@ -846,10 +846,14 @@
exts.append( Extension('_socket', ['socketmodule.c'],
depends = ['socketmodule.h']) )
# Detect SSL support for the socket module (via _ssl)
+ openssl_root = os.getenv('OPENSSL_ROOT')
+
search_for_ssl_incs_in = [
@lamductan
lamductan / meraki_strongswan_notes.md
Last active May 27, 2019 18:33 — forked from psanford/meraki_strongswan_notes.md
connect to meraki client vpn from strongswan (ubuntu 16.04 edition)

These are my notes for connecting to a meraki client vpn from ubuntu 16.04. This configuration assumes you are using a psk for the ipsec auth.

Install the following packages:

apt-get install -y strongswan xl2tpd

Configure strong swan