Skip to content

Instantly share code, notes, and snippets.

@krider2010
krider2010 / iptables.sh
Last active March 28, 2018 19:54 — forked from Tristor/iptables.sh
Simple IPtables script for an OpenVPN server
#!/bin/bash
# Flushing all rules
iptables -F FORWARD
iptables -F INPUT
iptables -F OUTPUT
iptables -X
# Setting default filter policy
iptables -P INPUT DROP
iptables -P OUTPUT DROP
iptables -P FORWARD DROP
@krider2010
krider2010 / keybase.md
Last active August 18, 2019 16:30
keybase.md

Keybase proof

I hereby claim:

  • I am krider2010 on github.
  • I am krider2010 (https://keybase.io/krider2010) on keybase.
  • I have a public key whose fingerprint is 7470 8F1D FE79 BF5F E2DD EC45 8BDF 429E F29F 9D7E

To claim this, I am signing this object:

@krider2010
krider2010 / .profile
Last active November 29, 2017 06:13
Git Signed Commits - OSX and GUIs
# This would go into .bash_profile, .bashrc, .zshrc, etc.
# Script to start the gpg-agent - in it's own file as it is also used when the machine starts up
# Be sure to update the path to wherever you place this file!
# Note, depending on shell you may not need this line enabling, if the global daemon is already running
# OK. Some shells complain, others don't!
~/bin/startup-gpg-agent.sh
# GPG
if [ -f "${HOME}/.gpg-agent-info" ]; then