Skip to content

Instantly share code, notes, and snippets.

View Exposing Windows OpenVPN Connect Client Network to OpenVPN Server's Networks with SAMBA.md

Exposing Windows OpenVPN Connect Client's Network to OpenVPN Server's Networks

In addition to including local subnets for specific users on OpenVPN server settings there are also changes that need to be made on client machines running the OpenVPN Connect software. These are not well documented for Windows OS, hence this document.

This document shows you the necessary changes needed to connect remote hosts/guests to your local network using Windows Firewall.

Prerequisites

  • Connection established via OpenVPN connect
  • Remote guest/host on the same network as the OpenVPN Active Server
@SayBeano
SayBeano / haproxy.cfg
Last active Jul 1, 2016
HAproxy: configure. init.d and execute
View haproxy.cfg
global
log /dev/log local0
log /dev/log local1 notice
chroot /var/lib/haproxy
user haproxy
group haproxy
daemon
ca-base /etc/haproxy/keys
crt-base /etc/haproxy/keys
tune.ssl.default-dh-param 1024
@SayBeano
SayBeano / neutron.sh
Created Jun 6, 2016 — forked from etoews/neutron.sh
Create a Neutron network, subnet, and port and boot an instance with the port
View neutron.sh
OS_AUTH_URL=http://162.242.242.161:5000/v2.0/
OS_REGION_NAME=RegionOne
OS_USERNAME=admin
OS_TENANT_NAME=admin
OS_PASSWORD=devstack
NET_NAME="test1-net"
IP_CIDR=192.168.0.0/24
IP_START=192.168.0.10
IP_END=192.168.0.20
@SayBeano
SayBeano / pedantically_commented_playbook.yml
Created May 23, 2016 — forked from marktheunissen/pedantically_commented_playbook.yml
Insanely complete Ansible playbook, showing off all the options
View pedantically_commented_playbook.yml
---
# ^^^ YAML documents must begin with the document separator "---"
#
#### Example docblock, I like to put a descriptive comment at the top of my
#### playbooks.
#
# Overview: Playbook to bootstrap a new host for configuration management.
# Applies to: production
# Description:
# Ensures that a host is configured for management with Ansible.
View raspi-chromium-browser
wget -qO - http://bintray.com/user/downloadSubjectPublicKey?username=bintray | sudo apt-key add -
echo "deb http://dl.bintray.com/kusti8/chromium-rpi jessie main" | sudo tee -a /etc/apt/sources.list
sudo apt-get update
sudo apt-get install chromium-browser rpi-youtube -y
@SayBeano
SayBeano / install.sh
Created May 11, 2016 — forked from dzharii/install.sh
Raspberry Pi elasticsearch-2.2.0.tar.gz and kibana-4.4.0-linux-x64.tar.gz
View install.sh
sudo apt-get install openjdk-7-jre
sudo mkdir /usr/share/elasticsearch
cd /usr/share/elasticsearch
sudo wget https://download.elasticsearch.org/elasticsearch/release/org/elasticsearch/distribution/tar/elasticsearch/2.2.0/elasticsearch-2.2.0.tar.gz
sudo wget https://download.elastic.co/kibana/kibana/kibana-4.4.0-linux-x64.tar.gz
sudo tar -zxvf elasticsearch-2.2.0.tar.gz
View IR remote hex
/*
* IRremote: IRrecvDemo - demonstrates receiving IR codes with IRrecv
* An IR detector/demodulator must be connected to the input RECV_PIN.
* Version 0.1 July, 2009
* Copyright 2009 Ken Shirriff
* http://arcfn.com
*/
#include <IRremote.h>
View onename blockchain
Verifying that +beano is my blockchain ID. https://onename.com/beano
You can’t perform that action at this time.