Skip to content

Instantly share code, notes, and snippets.

@nikescar
Last active May 31, 2026 03:24
Show Gist options
  • Select an option

  • Save nikescar/a169bb3c06b78a67dddf7fc0f3c3485b to your computer and use it in GitHub Desktop.

Select an option

Save nikescar/a169bb3c06b78a67dddf7fc0f3c3485b to your computer and use it in GitHub Desktop.
jangbi.client.example.config
#!/usr/bin/env bash
# base configuration
PARENT_CONFIG=".config.default"
FORCE_INSTALL=0
# device config
DIST_DEVICE="laptop"
DIST_NAME="debian_trixie_x86_64"
# host specific configurations
JB_USERID=test
JB_SSHPUBKEY=
# os apps
RUN_OS_MINMON=1
RUN_OS_VECTOR=1
# network settings
RUN_OS_SYSTEMD=0
JB_NETPLAN=
## dhcp or 192.168.5.2/24(first ip of subnet become gw ip, 192.168.5.1)
JB_WAN="dhcp"
JB_WANGW=
JB_LANINF=
JB_LAN="192.168.79.1/24"
# DURELAN1 - DURELAN9
JB_LAN1INF=
JB_LAN1="192.168.89.1/24"
JB_WLANINF=
JB_WLAN="192.168.100.1/24"
JB_WLAN_APMODE=0
JB_WLAN_SSID="durejangbi"
JB_WLAN_PASS="durejangbi"
# role: gateway / client / tunnelonly
JB_ROLE="client"
# network apps
RUN_NET_KNOCKD=0
RUN_NET_SSHD=0
# iptables
RUN_NET_IPTABLES=1
IPTABLES_OVERRIDE=""
# arp rules
IPTABLES_IPTABLES_WHMACADDR=""
IPTABLES_GWMAC=1
IPTABLES_ARPALLINFS=1
# net rules
IPTABLES_BLACK_NAMELIST="https://raw.githubusercontent.com/stamparm/ipsum/master/ipsum.txt"
# host rules
# masquerade inside to outside ex) LAN<WAN|WLAN<WAN
IPTABLES_MASQ=""
IPTABLES_PORTFORWARD=""
IPTABLES_DMZ=""
IPTABLES_SUPERDMZ=0
RUN_NET_XTABLES=0
# gateway apps
RUN_NET_HOSTAPD=0
RUN_NET_DNSMASQ=1
RUN_NET_DNSCRYPTPROXY=1
RUN_NET_SURICATA=1
SURICATA_MODE="IDS"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment