Skip to content

Instantly share code, notes, and snippets.

# This file contains important security parameters. If you modify this file
# manually, Certbot will be unable to automatically provide future security
# updates. Instead, Certbot will print and log an error message with a path to
# the up-to-date file that you will need to refer to when manually updating
# this file.
ssl_session_cache shared:le_nginx_SSL:1m;
ssl_session_timeout 1440m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
@chewitt
chewitt / mirror.sh
Created February 4, 2020 05:33
Script for start/stop of iptables port mirroring on Synology RT2600ac router
#!/bin/sh
GW="172.16.20.238"
case $1 in
on|up)
echo "loading modules"
insmod /root/nf_dup_ipv4.ko
insmod /root/nf_dup_ipv6.ko
insmod /root/xt_TEE.ko