- SSH to router
uci add_list dhcp.@dnsmasq[0].addnhosts=/etc/override.hostsecho 'fqdn.example.com 127.0.0.1' >> /etc/override.hosts/etc/init.d/dnsmasq restart
Should result in
$ nslookup fqdn.example.com
Server: 127.0.0.1
| { | |
| "template": "logstash-*", | |
| "settings" : { | |
| "number_of_shards" : 1, | |
| "number_of_replicas" : 0, | |
| "index" : { | |
| "query" : { "default_field" : "@message" }, | |
| "store" : { "compress" : { "stored" : true, "tv": true } } | |
| } | |
| }, |
| #! /bin/sh | |
| # GRAPHITE 0.9.10 | |
| # FOR CENTOS 6 | |
| # Andrew Diller Jan 2012 | |
| # Modified by Fabricio Leotti Nov 2012 | |
| # THIS SCRIPT DEPENDS ON PYTHON 2.6 (NO MORE, NO LESS) | |
| # Get EPEL Repo installed | |
| rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-7.noarch.rpm |
uci add_list dhcp.@dnsmasq[0].addnhosts=/etc/override.hostsecho 'fqdn.example.com 127.0.0.1' >> /etc/override.hosts/etc/init.d/dnsmasq restartShould result in
$ nslookup fqdn.example.com
Server: 127.0.0.1
Download the latest ugw3 package from https://github.com/Lochnair/vyatta-wireguard/releases and install it on your USG using dpkg -i wireguard-ugw3-<version>.deb.
cd /config/auth
umask 077
mkdir wireguard
cd wireguard
wg genkey > wg_private.key
wg pubkey < wg_private.key > wg_public.keyDo I want to die on this hill?
Am I including everyone?