' or '1' ='1' --
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
| /interface bridge add name=bridge | |
| /interface bridge port | |
| add bridge=bridge interface=ether3 | |
| add bridge=bridge interface=ether2 | |
| add bridge=bridge interface=ether1 | |
| /interface list | |
| add comment=defconf name=WAN | |
| add comment=defconf name=LAN |
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/bash | |
| ## SecurityCenter Backup Script | |
| # | |
| # This script is intended to create backups of all of the SecurityCenter data | |
| # on a daily/weekly/monthly/etc. basis. This is intended to be run as a cronjob | |
| # and expect the SysAdmin to have configured the root@localhost mail alias to | |
| # route through their email system in-case of errors. An example of how to run | |
| # this as a cronjob is below: | |
| # | |
| # 1 45 * * * root /opt/scripts/backups/sc-backup.sh |
This is a quick-and-dirty guide to setting up a Raspberry Pi as a "router on a stick" to PrivateInternetAccess VPN.
Install Raspbian Jessie (2016-05-27-raspbian-jessie.img) to your Pi's sdcard.
Use the Raspberry Pi Configuration tool or sudo raspi-config to:
Selfhosting is the process of locally hosting and managing applications instead of renting from SaaS providers.
This is a list of Free Software network services and web applications which can be hosted locally. Non-Free software is listed on the Non-Free page.
See Contributing.
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
| # For advice on how to change settings please see | |
| # http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html | |
| [mysql] | |
| local_infile=true | |
| [mysqld] | |
| local_infile=true | |
| collation-server = utf8mb4_unicode_ci | |
| character-set-server = utf8mb4 | |
| skip-character-set-client-handshake |
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
| openssl req -x509 -new -batch -nodes -sha256 -days 90 -subj "/CN=ca" -keyout ca-key.pem -out ca.pem | |
| openssl req -new -sha256 -nodes -subj "/CN=localhost" -keyout server-key.pem -out server-cert.csr | |
| openssl x509 -req -days 90 -sha256 -CAcreateserial -extfile <(printf "subjectAltName=DNS:127.0.0.1,DNS:0.0.0.0") -in server-cert.csr -CA ca.pem -CAkey ca-key.pem -out server-cert.pem |
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
| # | |
| # The MySQL database server configuration file. | |
| # | |
| # You can copy this to one of: | |
| # - "/etc/mysql/my.cnf" to set global options, | |
| # - "~/.my.cnf" to set user-specific options. | |
| # | |
| # One can use all long options that the program supports. | |
| # Run program with --help to get a list of available options and with | |
| # --print-defaults to see which it would actually understand and use. |
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 setup | |
| # Раскомментируйте, если хотите несколько подключений на один логин | |
| # uniqueids=no | |
| conn %default | |
| dpdaction=clear | |
| dpddelay=35s | |
| dpdtimeout=300s | |
| fragmentation=yes |