Skip to content

Instantly share code, notes, and snippets.

View trickapm's full-sized avatar

PatrickM trickapm

  • ADLink SAT
  • Hengelo Ov., Netherlands
View GitHub Profile
@trickapm
trickapm / gen_wg_config.sh
Last active May 17, 2022 20:01
Wireguard helper script for SurfShark on OpenWRT
#!/bin/sh
# For more info see:
# https://forum.openwrt.org/t/create-surfshark-wireguard-connection-on-openwrt-easily/
#
config_file="config.json"
read_config() {
conf_json=$(cat "$config_file")