This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "service": { | |
| "nat": { | |
| "rule": { | |
| "1001": { | |
| "description": "Policy DNAT: Force DNS request to PiHole", | |
| "destination": { | |
| "port": "53" | |
| }, | |
| "inbound-interface": "eth1", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| ## This script helps install the parser | |
| ## | |
| ## It checks if it's already installed | |
| ## and removes "old version" files | |
| ## It may spit out errors such as | |
| ## File does not exist | |
| ## | |
| ## It also sets the variable for the installation |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # CONFIG | |
| SYSLOCATION= | |
| SNMP_COMMUNITY=maddula | |
| SYSCONTACT=hello@maddula.net | |
| # get packages | |
| apt-get install snmpd | |
| mv /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.old | |
| cat >/etc/snmp/snmpd.conf <<EOL |