Skip to content

Instantly share code, notes, and snippets.

View franzramadhan's full-sized avatar
🔥
Working from home

Frans Caisar Ramadhan franzramadhan

🔥
Working from home
View GitHub Profile
@franzramadhan
franzramadhan / iptables
Created July 6, 2017 08:09
configuration for squid http and https transparent proxy
# Generated by iptables-save v1.4.7 on Thu Jul 6 15:07:05 2017
*filter
:INPUT ACCEPT [0:0]
:FORWARD ACCEPT [0:0]
:OUTPUT ACCEPT [746122100:654968156651]
:LOGGING - [0:0]
-A INPUT -m state --state NEW,RELATED,ESTABLISHED -j ACCEPT
-A INPUT -p icmp -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -i eth0 -j ACCEPT
Refreshing Terraform state in-memory prior to plan...
The refreshed state will be used to calculate this plan, but will not be
persisted to local or remote state storage.
Error running plan: 1 error(s) occurred:
* provider.proxmox: unexpected EOF
panic: runtime error: invalid memory address or nil pointer dereference
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox: [signal SIGSEGV: segmentation violation code=0x1 addr=0x40 pc=0x97f6dd]
2017/06/07 16:16:57 [DEBUG] plugin: terraform-provider-proxmox:
@franzramadhan
franzramadhan / asa-b.config
Created May 18, 2017 08:52
ASA-B Configuration
: Saved
:
: Serial Number: JAD202409YP
: Hardware: ASA5508, 8192 MB RAM, CPU Atom C2000 series 2000 MHz, 1 CPU (8 cores)
: Written by admin2 at 14:18:01.378 UTC Thu Mar 23 2017
!
ASA Version 9.7(1)
!
hostname fwasa-c
@franzramadhan
franzramadhan / centos7_raid1.ks
Last active July 27, 2017 10:31
Demox Kickstart Installation File
#version=RHEL7
# System authorization information
auth --enableshadow --passalgo=sha512
# Use network installation
url --url="http://10.32.15.190/yum/CentOS/7.2.1511/os/x86_64/"
# Run the Setup Agent on first boot
firstboot --enable
zerombr
ignoredisk --only-use=sda,sdb
# Keyboard layouts