Skip to content

Instantly share code, notes, and snippets.

View realmiketalbot's full-sized avatar

Mike Talbot realmiketalbot

  • Emmons & Olivier Resources, Inc.
  • Fort Collins, CO
  • 12:37 (UTC -07:00)
View GitHub Profile
@realmiketalbot
realmiketalbot / nginx-unificontroller.conf
Created May 13, 2020 03:23 — forked from vidia/nginx-unificontroller.conf
Example, working, NGINX config for proxying to Unifi Controller software and using letsencrypt. Includes websocket fix.
# I had a bit of trouble getting my unifi controller (hosted offsite) to use a proxy/letsencrypt. So here are the fruits of my labor.
# The unifi default port is 8443 running on localhost.
# License: CC0 (Public Domain)
server {
# SSL configuration
#
listen 443 ssl default_server;
listen [::]:443 ssl default_server;
@realmiketalbot
realmiketalbot / gist:f9a6eb947be2c78f76375c5f143377fb
Created September 30, 2020 04:30
Initialize ppp for Dell SonicWALL NetExtender client
#!/bin/sh
# Dell SonicWALL NetExtender client initialization
# You should place the netExtender excutable under:
# /usr/sbin/netExtender
rm -f /etc/ppp/sslvpn.pid
rm -f /etc/ppp/sslvpn.pid2
rm -f /etc/ppp/sslvpn.clientip
rm -f /etc/ppp/ip-down.d/sslvpnroutecleanup