Skip to content

Instantly share code, notes, and snippets.

View zerwes's full-sized avatar
🀯
I may be slow to respond.

Klaus Zerwes zerwes

🀯
I may be slow to respond.
View GitHub Profile
@zerwes
zerwes / ocsp_check.sh
Last active December 17, 2023 19:59
test script for ocsp support for openvpn @ opnsense
#!/bin/sh
# based on https://github.com/OpenVPN/openvpn/blob/master/contrib/OCSP_check/OCSP_check.sh
# for testing ocsp support in openvpn @ opnsense
# OCSP responder URL (mandatory)
# you can extract this from the cert ...
ocsp_url=`openssl x509 -in /var/etc/openvpn/server${1}.ca -noout -ocsp_uri`
# CA CERTIFICATE
@zerwes
zerwes / demoWG+VXLAN.md
Last active May 12, 2024 04:18 — forked from pamolloy/README.md
Mesh network using VXLAN over Wireguard
@zerwes
zerwes / output.log
Last active September 10, 2024 13:24
ansible community.general.xml strange behavior on empty tags
# ansible-playbook -D testxmlemptytag.yml
PLAY [localhost] ************************************************************************************************************************************************************
TASK [Gathering Facts] ******************************************************************************************************************************************************
ok: [127.0.0.1]
TASK [ansible.builtin.copy] *************************************************************************************************************************************************
changed: [127.0.0.1]
@zerwes
zerwes / tcpdump dhcp
Last active November 22, 2024 10:10 — forked from mattm7n/gist:1405067
Monitor DHCP traffic with tcpdump
# Monitoring on interface eth0
tcpdump -i eth0 -n port 67 and port 68
@zerwes
zerwes / gist:37c07f58757c7b22387787a22a2b036f
Created January 6, 2025 07:25 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: πŸ˜„ :smile: πŸ˜† :laughing:
😊 :blush: πŸ˜ƒ :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
πŸ˜† :satisfied: 😁 :grin: πŸ˜‰ :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: πŸ˜€ :grinning:
πŸ˜— :kissing: πŸ˜™ :kissing_smiling_eyes: πŸ˜› :stuck_out_tongue:
frontend front_https
acl network_allowed src 100.111.222.100
acl host_www hdr(host) -i zero-sys.net
http-request deny if host_www !network_allowed