Skip to content

Instantly share code, notes, and snippets.

View ekc's full-sized avatar

Ek Chotechawanwong ekc

  • Bangkok, Thailand
View GitHub Profile
@ekc
ekc / Vagrantfile
Created July 12, 2019 05:52
Supported docs for calico-node issue
IMAGE_NAME = "generic/ubuntu1604"
N = 2
Vagrant.configure("2") do |config|
config.ssh.insert_key = false
config.vm.provider "libvirt" do |v|
v.memory = 1024
v.cpus = 2
end
@ekc
ekc / iptables1.md
Last active November 16, 2024 17:57
iptables-jump-vs-goto
[root@localhost iptables]# cat jump-goto.sh
#!/bin/bash

# Flush all chains in filter table
iptables -F
# Delete all user-defined chains in the filter table
iptables -X
@ekc
ekc / ca.md
Created August 24, 2020 03:42 — forked from soarez/ca.md
How to setup your own CA with OpenSSL

How to setup your own CA with OpenSSL

For educational reasons I've decided to create my own CA. Here is what I learned.

First things first

Lets get some context first.