Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am jeremiejig on github.
  • I am jeremiejig (https://keybase.io/jeremiejig) on keybase.
  • I have a public key ASAAs8R_qcfLDg1A_aGOqUtmChNTjusJI48vv263WV7czAo

To claim this, I am signing this object:

@jeremiejig
jeremiejig / client-gen-ipv6
Last active August 18, 2023 23:18
openvpn generate a random ipv6 address with a /64 prefix
#!/bin/bash
# to be used with client-connect option of openvpn
#Debug mode
#exec 2> script_debug
#set -x
# Simple dad by checking all files in pool dir
dad_check () {
local test_addr=$1