Skip to content

Instantly share code, notes, and snippets.

View kacchan822's full-sized avatar

kacchan822 kacchan822

View GitHub Profile
@kacchan822
kacchan822 / vpnserver.service
Created February 20, 2016 02:28
SoftEtherVPN_systemd
[Unit]
Description=SoftEther VPN Server
After=network.target network-online.target
[Service]
Type=simple
ExecStart=/usr/local/vpnserver/vpnserver execsvc
ExecReload=/bin/kill -HUP $MAINPID
KillMode=control-group
Restart=on-failure
@kacchan822
kacchan822 / rirs2csv.py
Last active February 6, 2016 03:48
create_ipaddress_country_list
#! /usr/bin/env python3
# -*- coding: utf-8 -*-
#
# Copyright (c) 2016 Katsuya SAITO
# This software is released under the MIT License.
# http://opensource.org/licenses/mit-license.php
#
# version: 0.1.0 (2016.02.05)
#
@kacchan822
kacchan822 / letsencrypt_cert_autoupdate_webroot.sh
Last active February 19, 2016 00:17
letsencrypt_cert_autoupdate
#!/bin/bash
#
# Copyright (c) 2016 Katsuya SAITO
# This software is released under the MIT License.
# http://opensource.org/licenses/mit-license.php
#
# @(#) letsencrypt_cert_autoupdate_webroot.sh ver.0.1.0 2016.01.31
#
# Usage:
#
@kacchan822
kacchan822 / rDNSlookup.sh
Last active October 28, 2016 12:24
rDNSlookup
#!/bin/bash
#
# Copyright (c) 2016 Katsuya SAITO
# This software is released under the MIT License.
# http://opensource.org/licenses/mit-license.php
#
# @(#) rDNSlookup.sh ver.1.0.2 2016.01.29
#
# Usage:
# rDNSlookup.sh file
@kacchan822
kacchan822 / vpnclient
Created January 25, 2016 14:25
SoftEther VPN Client for Ubuntu /etc/init.d/vpnclient
#!/bin/bash
### BEGIN INIT INFO
# Provides: vpnclient
# Required-Start: $all
# Required-Stop: $network $local_fs $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: SoftEther VPN Client
# chkconfig: 2345 99 1
# description: SoftEther VPN Client